Module: Siren::Json::Array3

Defined in:
lib/siren/json.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



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

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