Module: Siren::JsonQuery::Sum

Defined in:
lib/siren/json_query_nodes.rb

Instance Method Summary collapse

Instance Method Details

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



204
205
206
# File 'lib/siren/json_query_nodes.rb', line 204

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