rubyx/lib/vm/context.rb
2014-05-03 22:18:04 +03:00

18 lines
359 B
Ruby

require_relative "kernel"
require_relative "program"
module Vm
#currently just holding the program in here so we can have global access
class Context
# Make hash attributes to object attributes
include Support::HashAttributes
def initialize program
@attributes = {}
@attributes["program"] = program
end
end
end