rubyx/lib/vm/context.rb

18 lines
420 B
Ruby

require "support/hash_attributes"
module Vm
#currently just holding the object_space in here so we can have global access
class Context
# Make hash attributes to object attributes
include Support::HashAttributes
def initialize object_space
@attributes = {}
@attributes[:object_space] = object_space
end
attr_reader :attributes
attr_accessor :current_class
end
end