Class: FEEL::Context

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

Overview

  1. context = “{” , [context entry , { “,” , context entry } ] , “}” ;

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



731
732
733
734
735
736
737
# File 'lib/feel/nodes.rb', line 731

def eval(context = {})
  if entries.present?
    entries.eval(context)
  else
    {}
  end
end