Class String
In: lib/unified_matchers/helpers.rb
Parent: Object

Methods

Public Instance methods

[Source]

# 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

[Validate]