Module: Siren::JsonQuery::Atom

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

#value(root, symbols, current = nil) ⇒ Object



210
211
212
213
214
# File 'lib/siren/json_query_nodes.rb', line 210

def value(root, symbols, current = nil)
  element = elements[1]
  return element.expression.value(root, symbols, current) if element.respond_to?(:expression)
  element.value(root, symbols, current)
end