Class: SpotFeel::List
- Defined in:
- lib/spot_feel/nodes.rb
Overview
-
list = “[” [ expression , { “,” , expression } ] , “]” ;
Instance Method Summary collapse
Methods inherited from Node
#qualified_names_in_context, #raise_evaluation_error
Instance Method Details
#eval(context = {}) ⇒ Object
585 586 587 588 589 590 591 592 |
# File 'lib/spot_feel/nodes.rb', line 585 def eval(context = {}) return [] unless defined?(list_entries) if list_entries.present? list_entries.eval(context) else [] end end |