Method: Gruesome::Z::Processor#initialize

Defined in:
lib/gruesome/z/processor.rb

#initialize(memory) ⇒ Processor

Returns a new instance of Processor.



14
15
16
17
18
19
20
# File 'lib/gruesome/z/processor.rb', line 14

def initialize(memory)
  @memory = memory
  @header = Header.new(@memory.contents)
  @abbreviation_table = AbbreviationTable.new(@memory)
  @object_table = ObjectTable.new(@memory)
  @dictionary = Dictionary.new(@memory)
end