Welcome to the Treehouse Community
Looking to learn something new?
Nick Vitsinsky7,246 Points
Why 'Dog.new("Fido")' still works if we have now such class?
I'm wondering, when we renamed 'Dog' class to 'Cat' class why
dog = Dog.new("Fido") dog.fetch("ball")
still print anything if we don't even have such class as Dog?
He didn't rename it. He just copy/pasted the code and created a similar class with the name "Cat". The Dog class still exists in the video