lib/strings/truncate.rb in strings-0.1.2 vs lib/strings/truncate.rb in strings-0.1.3

- old
+ new

@@ -1,10 +1,9 @@ # frozen_string_literal: true +require 'strings-ansi' require 'unicode/display_width' require 'unicode_utils/each_grapheme' - -require_relative 'ansi' module Strings # A module responsible for text truncation module Truncate DEFAULT_TRAILING = '…'.freeze