@pets need to be an empty hash to store key value pairs in. 

You need to chance the initialize method to this: 
    
    def initialize(name, children, age)
      @name = name
      @children = children
      @age = age
      @pets = {}
   end