class Dog def talk puts "Woof!" endendmy_dog = Dog.newmy_dog.talkclass Dog def talk puts "Howl!" endendmy_dog.talk