Class: JsonQuery::And

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/json_query/nodes.rb

Instance Method Summary collapse

Instance Method Details

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



107
108
109
# File 'lib/json_query/nodes.rb', line 107

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