unlinking the objects collection from the machine

passing it around instead
This commit is contained in:
Torsten Ruger
2016-12-31 18:46:17 +02:00
parent b094bcc64f
commit 113b349af5
7 changed files with 37 additions and 33 deletions

View File

@ -17,11 +17,10 @@ module Register
log_level :info
def initialize
@objects = {}
@booted = false
@constants = []
end
attr_reader :constants , :init , :objects , :booted
attr_reader :constants , :init , :booted
# idea being that later method missing could catch translate_xxx and translate to target xxx
# now we just instantiate ArmTranslater and pass instructions