Class: SpotFeel::Division
- Defined in:
- lib/spot_feel/nodes.rb
Overview
-
division = expression , “/” , expression ;
Instance Method Summary collapse
Methods inherited from Node
#qualified_names_in_context, #raise_evaluation_error
Instance Method Details
#eval(context = {}) ⇒ Object
274 275 276 |
# File 'lib/spot_feel/nodes.rb', line 274 def eval(context = {}) head.eval(context) / tail.eval(context) end |