Module: Siren::JsonQuery::MapFilter

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

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



132
133
134
135
136
# File 'lib/siren/json_query_nodes.rb', line 132

def value(list, root, symbols, current = nil)
  list.map do |object|
    expression.value(root, symbols, object)
  end
end