J
Jeff Cohen
The PickAxe doesn't seem to cover details of how to dynamically create
class or add methods to existing classes. For example, sometimes I see
people doing things like this:
class << self
...
and I'm wondering exactly what's going on.
Anybody know of a good book or online tutorial for this kind of thing?
Thanks!
Jeff
class or add methods to existing classes. For example, sometimes I see
people doing things like this:
class << self
...
and I'm wondering exactly what's going on.
Anybody know of a good book or online tutorial for this kind of thing?
Thanks!
Jeff