lib/wrap.rb in cheat-1.1.0 vs lib/wrap.rb in cheat-1.2

- old
+ new

@@ -1,8 +1,8 @@ # >> Evan Weaver # => http://blog.evanweaver.com/articles/2006/09/03/smart-plaintext-wrapping class String - def wrap(width, hanging_indent = 0, magic_lists = false) + def wrap(width = 80, hanging_indent = 0, magic_lists = false) lines = self.split(/\n/) lines.collect! do |line| if magic_lists