Class: ZunScript::ZString

Inherits:
ZValue
  • Object
show all
Defined in:
lib/zunscript/value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ZValue

#inspect

Constructor Details

#initialize(value, env) ⇒ ZString

Returns a new instance of ZString.



29
30
31
32
# File 'lib/zunscript/value.rb', line 29

def initialize value, env
  super env
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



27
28
29
# File 'lib/zunscript/value.rb', line 27

def value
  @value
end