Class: ZunScript::ZValue
- Inherits:
-
Object
- Object
- ZunScript::ZValue
- Defined in:
- lib/zunscript/value.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(env) ⇒ ZValue
constructor
A new instance of ZValue.
- #inspect ⇒ Object
Constructor Details
#initialize(env) ⇒ ZValue
Returns a new instance of ZValue.
3 4 5 |
# File 'lib/zunscript/value.rb', line 3 def initialize env @env = env end |
Instance Method Details
#inspect ⇒ Object
7 8 9 10 |
# File 'lib/zunscript/value.rb', line 7 def inspect return "#<ZVal: '#{value}'>" if respond_to? :value return "#<#{self.class}>" end |