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, #qualified_names_in_context, #raise_evaluation_error

Instance Method Details

#eval(context = {}) ⇒ Object



713
714
715
716
717
718
719
# File 'lib/feel/nodes.rb', line 713

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