Class: Termular::AST::Number
Instance Attribute Summary collapse
-
#number ⇒ Object
Returns the value of attribute number.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Termular::AST::Base
Instance Attribute Details
#number ⇒ Object
Returns the value of attribute number.
40 41 42 |
# File 'lib/termular/parser.rb', line 40 def number @number end |
Instance Method Details
#eval(ctx) ⇒ Object
41 42 43 |
# File 'lib/termular/parser.rb', line 41 def eval(ctx) number end |