limit to_s length

This commit is contained in:
Torsten Ruger 2014-10-07 12:21:40 +03:00
parent b7164b354d
commit e1b29d799a
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ module Virtual
padded_words(3)
end
def to_s
inspect
inspect[0...300]
end
end

View File

@ -41,7 +41,7 @@ module Virtual
Sof::Writer.write(self)
end
def to_s
inspect
inspect[0..300]
end
def mem_length
raise "abstract #{self.class}"