[Newbies] adding methods to a class at runtime
Mark Volkmann
mark at ociweb.com
Mon Aug 13 14:54:48 UTC 2007
Is it possible to write code that adds methods to a class at runtime.
In particular I'm thinking about something like attr_accessor in Ruby
which adds get and set methods for instance variables so you don't
have to write them.
Thanks to everybody who has answered my questions so far!
---
Mark Volkmann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20070813/04b3416d/attachment.htm
More information about the Beginners
mailing list