P
pp
[Note: parts of this message were removed to make it a legal post.]
I want to mixin a class, overwrite the initialize method, but I still want to call the original initialize, how can I do this as simple as possible?
class A def initialize #some code endend
module B def initialize #some way to call the original #some other code endend
#then extend
A.include(B)
THANKS
I want to mixin a class, overwrite the initialize method, but I still want to call the original initialize, how can I do this as simple as possible?
class A def initialize #some code endend
module B def initialize #some way to call the original #some other code endend
#then extend
A.include(B)
THANKS