lib/core/facets/string/fold.rb in facets-2.4.5 vs lib/core/facets/string/fold.rb in facets-2.5.0
- old
+ new
@@ -12,10 +12,10 @@
#
# One arguable flaw with this, that might need a fix:
# if the given string ends in a newline, it is replaced with
# a single space.
#
- # CREDIT: Trans
+ # CREDIT: Trans
def fold(ignore_indented=false)
ns = ''
i = 0
br = self.scan(/(\n\s*\n|\Z)/m) do |m|