Module: Siren::JsonQuery::Or

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

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



172
173
174
# File 'lib/siren/json_query_nodes.rb', line 172

def value(root, symbols, current = nil)
  first.value(root, symbols, current) || second.value(root, symbols, current)
end