Reputation: 5745
I am confused on how and when method_added(method) gets called.
If I have
class Car
def method_added(method)
puts 'method added called'
super
end
def one
puts 'one method'
end
def two
puts 'two method'
end
end
Car.new.one
Why does this not work?
Upvotes: 0
Views: 171