You're visiting a deprecated Prototype API Documentation page for Class#addMethods. This URL is deprecated and will no longer be supported.

In 10 seconds, you'll be redirected to the latest version of this documentation: /doc/latest/language/Class/prototype/addMethods

Please update your links and sorry for the incovenience.

If you want a different version of this documentation, please head to the documentation versions index page.