Class: JsonQuery::Subtraction

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

Instance Method Summary collapse

Instance Method Details

#value(expr1, expr2) ⇒ Object



179
180
181
# File 'lib/json_query/nodes.rb', line 179

def value(expr1, expr2)
  expr1 - expr2
end