Class: Arrow::MapArray

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow/map-array.rb

Instance Method Summary collapse

Instance Method Details

#get_value(i) ⇒ Object



20
21
22
23
24
# File 'lib/arrow/map-array.rb', line 20

def get_value(i)
  super.each_with_object({}) do |item, result|
    result[item["key"]] = item["value"]
  end
end