Class: Faust2Ruby::AST::FloatLiteral
Overview
Float 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) ⇒ FloatLiteral
constructor
A new instance of FloatLiteral.
Constructor Details
#initialize(value, **opts) ⇒ FloatLiteral
Returns a new instance of FloatLiteral.
132 133 134 135 |
# File 'lib/faust2ruby/ast.rb', line 132 def initialize(value, **opts) super(**opts) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
130 131 132 |
# File 'lib/faust2ruby/ast.rb', line 130 def value @value end |