Class: Faust2Ruby::AST::IntLiteral
Overview
Integer literal
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(value, **opts) ⇒ IntLiteral
constructor
A new instance of IntLiteral.
Constructor Details
#initialize(value, **opts) ⇒ IntLiteral
Returns a new instance of IntLiteral.
122 123 124 125 |
# File 'lib/faust2ruby/ast.rb', line 122 def initialize(value, **opts) super(**opts) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
120 121 122 |
# File 'lib/faust2ruby/ast.rb', line 120 def value @value end |