Class: Jsonerino::JsonBool
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from JsonValue
Instance Method Summary collapse
-
#initialize(value) ⇒ JsonBool
constructor
A new instance of JsonBool.
- #resolve ⇒ Object
Constructor Details
#initialize(value) ⇒ JsonBool
Returns a new instance of JsonBool.
15 16 17 |
# File 'lib/jsonerino/ast.rb', line 15 def initialize(value) @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
13 14 15 |
# File 'lib/jsonerino/ast.rb', line 13 def value @value end |
Instance Method Details
#resolve ⇒ Object
19 20 21 |
# File 'lib/jsonerino/ast.rb', line 19 def resolve @value end |