Ruby - Inheritance
Identify the error in this Ruby code:
class Parent
def details(age)
"Age: #{age}"
end
end
class Child < Parent
def details
super
end
end
puts Child.new.details(30)