Module: Json::Array3

Defined in:
lib/json.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



324
325
326
327
328
# File 'lib/json.rb', line 324

def value
  [list.first.value] + list.others.elements.map { |v| v.value.value }
rescue
  []
end