rubyx/lib/virtual/reference.rb
2014-07-12 21:59:17 +03:00

18 lines
261 B
Ruby

require_relative "value"
module Virtual
class Reference < Value
def initialize clazz = nil
@clazz = clazz
end
attr_accessor :clazz
def at_index block , left , right
block.ldr( self , left , right )
self
end
end
end