Ruby - Inheritance
Identify the error in this Ruby code snippet:
class Parent
def greet
"Hello"
end
end
class Child < Parent
def greet
super()
end
end
Child.new.greet(1)