Class: SpotFeel::SimpleExpressions
- Defined in:
- lib/spot_feel/nodes.rb
Overview
-
simple expressions = simple expression , { “,” , simple expression } ;
Instance Method Summary collapse
Methods inherited from Node
#qualified_names_in_context, #raise_evaluation_error
Instance Method Details
#eval(context = {}) ⇒ Object
70 71 72 |
# File 'lib/spot_feel/nodes.rb', line 70 def eval(context = {}) [expr.eval(context)] + more_exprs.elements.map { |element| element.eval(context) } end |