Ruby - Modules and Mixins
Given the module and classes below, what will
puts Cat.new.sound output?module AnimalSounds
def sound
"Generic sound"
end
end
class Dog
include AnimalSounds
def sound
"Bark"
end
end
class Cat
include AnimalSounds
end