Class: MessagePack::IDL::AST::FlaotLiteral
- Defined in:
- lib/msgpack/idl/ast.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ FlaotLiteral
constructor
A new instance of FlaotLiteral.
- #text ⇒ Object
Constructor Details
#initialize(value) ⇒ FlaotLiteral
Returns a new instance of FlaotLiteral.
337 338 339 |
# File 'lib/msgpack/idl/ast.rb', line 337 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
340 341 342 |
# File 'lib/msgpack/idl/ast.rb', line 340 def value @value end |
Instance Method Details
#text ⇒ Object
342 343 344 |
# File 'lib/msgpack/idl/ast.rb', line 342 def text "#{@value}" end |