Class: MessagePack::IDL::IR::BoolValue

Inherits:
Value
  • Object
show all
Defined in:
lib/msgpack/idl/ir.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bool) ⇒ BoolValue

Returns a new instance of BoolValue.



214
215
216
# File 'lib/msgpack/idl/ir.rb', line 214

def initialize(bool)
	@bool = bool
end

Instance Attribute Details

#boolObject (readonly)

Returns the value of attribute bool.



217
218
219
# File 'lib/msgpack/idl/ir.rb', line 217

def bool
  @bool
end