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) padded_words(3)
end end
def to_s def to_s
inspect inspect[0...300]
end end
end end

View File

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