Class: Twostroke::Runtime::Types::Boolean
- Defined in:
- lib/twostroke/runtime/types/boolean.rb
Instance Attribute Summary collapse
-
#boolean ⇒ Object
readonly
Returns the value of attribute boolean.
Class Method Summary collapse
Instance Method Summary collapse
- #===(other) ⇒ Object
-
#initialize(boolean) ⇒ Boolean
constructor
A new instance of Boolean.
- #typeof ⇒ Object
Methods inherited from Value
Constructor Details
#initialize(boolean) ⇒ Boolean
Returns a new instance of Boolean.
11 12 13 |
# File 'lib/twostroke/runtime/types/boolean.rb', line 11 def initialize(boolean) @boolean = boolean end |
Instance Attribute Details
#boolean ⇒ Object (readonly)
Returns the value of attribute boolean.
10 11 12 |
# File 'lib/twostroke/runtime/types/boolean.rb', line 10 def boolean @boolean end |