Class: MessagePack::IDL::AST::StringLiteral

Inherits:
Literal
  • Object
show all
Defined in:
lib/msgpack/idl/ast.rb

Instance Method Summary collapse

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

#textObject



381
382
383
# File 'lib/msgpack/idl/ast.rb', line 381

def text
	@value.dump
end