Ruby - Inheritance
How can you modify this Ruby code so that the
Child class's greet method calls the Parent class's greet method with a different argument?class Parent
def greet(name)
"Hello, #{name}"
end
end
class Child < Parent
def greet
super
end
end