lib/lovely_rufus.rb in lovely_rufus-0.2.1 vs lib/lovely_rufus.rb in lovely_rufus-0.3.0

- old
+ new

@@ -1,11 +1,14 @@ +require 'private_attr' +Class.include PrivateAttr + +require_relative 'lovely_rufus/text_wrapper' + module LovelyRufus - NBSP = "\u00A0" - QUOTES = /^([>\/#])(\1| )*/ + NBSP = "\u00A0" - def self.wrap(text, text_wrapper: TextWrapper, width: 72) + module_function + + def wrap(text, text_wrapper: TextWrapper, width: 72) text_wrapper.wrap(text, width: width) end end - -require_relative 'lovely_rufus/cli_wrapper' -require_relative 'lovely_rufus/text_wrapper'