Class: MessagePack::IDL::AST::StringLiteral
- Defined in:
- lib/msgpack/idl/ast.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ StringLiteral
constructor
A new instance of StringLiteral.
- #text ⇒ Object
Constructor Details
#initialize(value) ⇒ StringLiteral
Returns a new instance of StringLiteral.
377 378 379 |
# File 'lib/msgpack/idl/ast.rb', line 377 def initialize(value) @value = value end |
Instance Method Details
#text ⇒ Object
381 382 383 |
# File 'lib/msgpack/idl/ast.rb', line 381 def text @value.dump end |