Class: MessagePack::IDL::AST::BoolLiteral
- Defined in:
- lib/msgpack/idl/ast.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ BoolLiteral
constructor
A new instance of BoolLiteral.
- #text ⇒ Object
Constructor Details
#initialize(value) ⇒ BoolLiteral
Returns a new instance of BoolLiteral.
354 355 356 |
# File 'lib/msgpack/idl/ast.rb', line 354 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
357 358 359 |
# File 'lib/msgpack/idl/ast.rb', line 357 def value @value end |
Instance Method Details
#text ⇒ Object
359 360 361 |
# File 'lib/msgpack/idl/ast.rb', line 359 def text "#{@value}" end |