class Dog def talk puts "Woof!" end end my_dog = Dog.new my_dog.talk class Dog def talk puts "Howl!" end end my_dog.talk