Class: SpotFeel::SimplePositiveUnaryTests
- Defined in:
- lib/spot_feel/nodes.rb
Overview
-
simple positive unary tests = simple positive unary test , { “,” , simple positive unary test } ;
Instance Method Summary collapse
Methods inherited from Node
#qualified_names_in_context, #raise_evaluation_error
Instance Method Details
#eval(context = {}) ⇒ Object
169 170 171 172 173 174 175 |
# File 'lib/spot_feel/nodes.rb', line 169 def eval(context = {}) tests = [test.eval(context)] more_tests.elements.each do |more_test| tests << more_test.simple_positive_unary_test.eval(context) end tests end |