# File lib/facet/string/clump.rb, line 19 def clump ns = '' i = 0 br = self.scan(/(\n\s*\n|\Z)/m) { |m| b = $~.begin(1) e = $~.end(1) nl = $& ns << self[i...b].gsub(/[ ]*\n+/,' ') ns << nl i = e } ns end