# File lib/core/facets/string/lines.rb, line 9 def lines(&blk) if block_given? each_line(&blk) #scan(/$.*?\n/).each(&blk) else Enumerator.new(self, :lines) #.split(/\n/) end end