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 Golden 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,
Makes sense. Thanks Marnem