Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
to_h()
public
Collapses the row into a simple Hash. Be warned
that this discards field order and
clobbers duplicate fields.
# File lib/csv/row.rb, line 331
def to_h
hash = {}
each do |key, _value|
hash[key] = self[key] unless hash.key?(key)
end
hash
end