Sha256: 21a6a791a7ac5979535136c8266fec4c84f693b4c952169939dec61b416e9ea4
Contents?: true
Size: 212 Bytes
Versions: 8
Compression:
Stored size: 212 Bytes
Contents
module StringDecorator class ::String def reverse_chomp(str) reverse.chomp(str.reverse).reverse end def clean_lines each_line.map(&:strip).reject(&:empty?) end end end
Version data entries
8 entries across 8 versions & 1 rubygems