Create an array of hashes
a = Array.new(2, Hash.new) a[0]['cat'] = 'feline' p a a[1]['cat'] = 'Felix' p a