rubyx/lib/vm/context.rb
Torsten Ruger 69b04d930f cleanup
2014-05-05 15:59:29 +03:00

18 lines
358 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