S
Sean Liu
I want to change the super class of one class in one of plugins, for
example,
in plugin
class A < B
end
in rails initialization configuration file,
class A < C
end
but when i did this, the error: "TypeError: superclass mismatch"
appreared.
So can we change the super class of one class dynamically?
Thanks.
example,
in plugin
class A < B
end
in rails initialization configuration file,
class A < C
end
but when i did this, the error: "TypeError: superclass mismatch"
appreared.
So can we change the super class of one class dynamically?
Thanks.