Module: Siren::JsonQuery::BooleanAtom

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

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



184
185
186
187
188
# File 'lib/siren/json_query_nodes.rb', line 184

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