Ruby - Inheritance
What will be the output of the following Ruby code?
class Animal; end class Dog < Animal; end dog = Dog.new puts dog.is_a?(Animal) puts dog.kind_of?(Dog) puts dog.is_a?(String)
