A Ruby Mixin Question

Ruby centric I know, but… How can you define class methods or
variables on
a host class by mixing-in a module?

Thanks!
Elliott G

Elliott G. wrote in post #968758:

Ruby centric I know, but… How can you define class methods or
variables on
a host class by mixing-in a module?

Take a look at extend, and at the included and extended callbacks.

Thanks!
Elliott G

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

Makes sense. Thanks Marnem