Class: FEEL::ExpressionUnaryTest

Inherits:
Node
  • Object
show all
Defined in:
lib/feel/nodes.rb

Instance Method Summary collapse

Methods inherited from Node

#access_property, #contains_input_placeholder?, #qualified_names_in_context, #raise_evaluation_error

Instance Method Details

#eval(context = {}) ⇒ Object



258
259
260
# File 'lib/feel/nodes.rb', line 258

def eval(context = {})
  ->(input) { expr.eval(context.merge("?" => input)) }
end