S
Shashank Date
How do I get the name of the missing method inside the missing_method
method?
class Foo
def missing_method(*args)
puts " <#{???}> method is not yet implemented"
# ^^^^^^ What should I put here?
end
end
f = Foo.new
f.boo # This should print "<boo> method is not yet implemented"
TIA,
-- shanko
method?
class Foo
def missing_method(*args)
puts " <#{???}> method is not yet implemented"
# ^^^^^^ What should I put here?
end
end
f = Foo.new
f.boo # This should print "<boo> method is not yet implemented"
TIA,
-- shanko