Class: FAM::Syntax::AST::NumericNode
Instance Attribute Summary collapse
-
#numeric ⇒ Object
Returns the value of attribute numeric.
Instance Method Summary collapse
-
#initialize(numeric) ⇒ NumericNode
constructor
A new instance of NumericNode.
Methods inherited from Node
Constructor Details
#initialize(numeric) ⇒ NumericNode
Returns a new instance of NumericNode.
130 131 132 |
# File 'lib/fam/syntax/ast.rb', line 130 def initialize numeric @numeric = Integer numeric.name end |
Instance Attribute Details
#numeric ⇒ Object
Returns the value of attribute numeric.
129 130 131 |
# File 'lib/fam/syntax/ast.rb', line 129 def numeric @numeric end |