Class: SpotFeel::Context
- Defined in:
- lib/spot_feel/nodes.rb
Overview
-
context = “{” , [context entry , { “,” , context entry } ] , “}” ;
Instance Method Summary collapse
Methods inherited from Node
#qualified_names_in_context, #raise_evaluation_error
Instance Method Details
#eval(context = {}) ⇒ Object
621 622 623 624 625 626 627 |
# File 'lib/spot_feel/nodes.rb', line 621 def eval(context = {}) if entries&.present? entries.eval(context) else {} end end |