lib/lovely_rufus.rb in lovely_rufus-0.1.2 vs lib/lovely_rufus.rb in lovely_rufus-0.2.0
- old
+ new
@@ -1,13 +1,11 @@
-require_relative 'lovely_rufus/layer'
-require_relative 'lovely_rufus/basic_wrapper'
-require_relative 'lovely_rufus/cli_wrapper'
-require_relative 'lovely_rufus/hangout_wrapper'
-require_relative 'lovely_rufus/one_letter_gluer'
-require_relative 'lovely_rufus/quote_stripper'
-require_relative 'lovely_rufus/text_wrapper'
-require_relative 'lovely_rufus/wrap'
-
module LovelyRufus
NBSP = "\u00A0"
QUOTES = /^([>\/#])(\1| )*/
+
+ def self.wrap(text, width: 72)
+ TextWrapper.wrap(text, width: width)
+ end
end
+
+require_relative 'lovely_rufus/cli_wrapper'
+require_relative 'lovely_rufus/text_wrapper'