lib/lovely_rufus.rb in lovely_rufus-0.2.0 vs lib/lovely_rufus.rb in lovely_rufus-0.2.1
- old
+ new
@@ -1,10 +1,10 @@
module LovelyRufus
NBSP = "\u00A0"
QUOTES = /^([>\/#])(\1| )*/
- def self.wrap(text, width: 72)
- TextWrapper.wrap(text, width: width)
+ def self.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'