Class: ZunScript::ZBool
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, env) ⇒ ZBool
constructor
A new instance of ZBool.
Methods inherited from ZValue
Constructor Details
#initialize(value, env) ⇒ ZBool
Returns a new instance of ZBool.
38 39 40 41 |
# File 'lib/zunscript/value.rb', line 38 def initialize value, env super env @value = value end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
36 37 38 |
# File 'lib/zunscript/value.rb', line 36 def value @value end |