Class: String
Overview
class ::Pathname
Instance Method Summary collapse
Instance Method Details
#inspect_for_unified_matchers ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/unified_matchers/helpers.rb', line 29 def inspect_for_unified_matchers l = length if l > 20 self[0..9].inspect + "..." + self[l-10..l-1].inspect else inspect end end |