Class: MessagePack::IDL::AST::FlaotLiteral

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#valueObject (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

#textObject



342
343
344
# File 'lib/msgpack/idl/ast.rb', line 342

def text
	"#{@value}"
end