Sha256: 05266e1b8db86dcd0a928fb6371e30354707b5aa93db964141e3c1b520e83fa9
Contents?: true
Size: 195 Bytes
Versions: 35
Compression:
Stored size: 195 Bytes
Contents
class File def read_fix_nl result = "" self.each_line do |line| chomped = line.chomp result << chomped result << "\n" if chomped != line end result end end
Version data entries
35 entries across 35 versions & 2 rubygems