What's the basic difference between #entries and #to_a methods of Enumerable module in ruby.Both seem to return same result on a Hash
>> hash = {"name" => "foo" , "age" => "23"}
=> {"name"=>"foo", "age"=>"23"}
>> hash.to_a
=> [["name","foo"],["age",23]]
>> hash.entries
=> [["name","foo"],["age",23]]