module TestRunner::Assert
Public Class Methods
inspect(object, truncate = 100)
click to toggle source
# File lib/test_runner/assert.rb, line 11 def self.inspect object, truncate = 100 raw = object.inspect return raw if raw.size <= truncate "#{raw[0..truncate - 2]} …\"" end