From: Phillip Gawlowski Date: 2008-04-06T23:47:16+09:00 Subject: Re: Is possible to define various methods at same time? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I単aki Baz Castillo wrote: | Hi, is possible to define various methods in a single declaration? something | as: | | def method1, method2 (args) | ... | end | | Of course the above doesn't work, anyway to do it? | | Thanks. | | Have you looked at #method_missing, and it's relatives, like #instance_variable_set? - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan ~ It takes an uncommon mind to think of these things. ~ --- Calvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkf44nEACgkQbtAgaoJTgL9H7wCbBMIa4NJ2mjKmle2E3G9CwHgb lhkAn3oPTijhiKTE0K+kEWAYS9zbQQJ4 =v7a6 -----END PGP SIGNATURE-----