Class: FAM::Syntax::AST::ArithmeticNode
- Defined in:
- lib/fam/syntax/ast.rb
Instance Attribute Summary collapse
-
#to ⇒ Object
Returns the value of attribute to.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, to) ⇒ ArithmeticNode
constructor
A new instance of ArithmeticNode.
Methods inherited from Node
Constructor Details
#initialize(value, to) ⇒ ArithmeticNode
Returns a new instance of ArithmeticNode.
88 89 90 91 |
# File 'lib/fam/syntax/ast.rb', line 88 def initialize value, to @value = value @to = to end |