Ruby - Metaprogramming Fundamentals
What is the output of this Ruby code?
class Person
def greet(name)
"Hello, #{name}!"
end
end
p = Person.new
puts p.send(:greet, "Alice")