Class: JsonQuery::MapFilter
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- JsonQuery::MapFilter
- Defined in:
- lib/json_query/nodes.rb
Instance Method Summary collapse
Instance Method Details
#value(list, root, symbols, current = nil) ⇒ Object
88 89 90 91 92 |
# File 'lib/json_query/nodes.rb', line 88 def value(list, root, symbols, current = nil) list.map do |object| expression.value(root, symbols, object) end end |