minor fixes

This commit is contained in:
Torsten Ruger
2015-05-31 14:44:26 +03:00
parent db5c958d2e
commit 7a5cf03d73
8 changed files with 13 additions and 10 deletions

View File

@ -27,7 +27,7 @@ module FakeMem
#TODO, this is copied from module Positioned, maybe avoid duplication ?
def position
if @position == nil
raise "position accessed but not set at #{mem_length} for #{self.inspect[0...1000]}"
raise "position not set for #{self.class} at #{mem_length} for #{self.inspect[0...1000]}"
end
@position
end