rubyx/lib/vm/context.rb

17 lines
323 B
Ruby
Raw Normal View History

2014-05-02 07:02:25 +02:00
module Vm
2014-05-03 14:13:44 +02:00
#currently just holding the object_space in here so we can have global access
2014-05-02 07:02:25 +02:00
class Context
2014-05-03 21:18:04 +02:00
def initialize object_space
@object_space = object_space
@locals = {}
2014-05-02 07:02:25 +02:00
end
attr_reader :attributes ,:object_space
attr_accessor :current_class , :locals , :function
2014-05-02 07:02:25 +02:00
end
end