homing in on line length 100

This commit is contained in:
Torsten Ruger
2015-05-30 12:20:39 +03:00
parent 33d464f032
commit e651b57d08
29 changed files with 159 additions and 108 deletions

View File

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