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
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
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
Sent from my iPhone
Makes sense. Thanks Marnem
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs