limit to_s length
This commit is contained in:
@@ -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
|
||||||
|
@@ -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}"
|
||||||
|
Reference in New Issue
Block a user