D
Daniel Berger
Hi all,
Is it possible to get a method object from a Module directly? This
doesn't work:
module Foo
def my_method
end
end
method = Foo.methodmy_method)
=> NameError: undefined method `my_method' for class `Module'
Is there a way to do what I mean?
Regards,
Dan
Is it possible to get a method object from a Module directly? This
doesn't work:
module Foo
def my_method
end
end
method = Foo.methodmy_method)
=> NameError: undefined method `my_method' for class `Module'
Is there a way to do what I mean?
Regards,
Dan