Module: Siren::JsonQuery::Symbol

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

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



31
32
33
# File 'lib/siren/json_query_nodes.rb', line 31

def value(root, symbols, current = nil)
  symbols[text_value] || FieldAccess.access(current, text_value)
end