Sha256: 397c56d5129716312f322f78f071c6a376fa5ae82cbe0be4dd8686e72c3b8f29
Contents?: true
Size: 214 Bytes
Versions: 7
Compression:
Stored size: 214 Bytes
Contents
== String#newlines Since Ruby 1.9 defined #lines to keep the newline character, we have defined #newlines to leave them out. require 'facets/string/newlines' "a\nb\nc".newlines.to_a.assert == ["a","b","c"]
Version data entries
7 entries across 7 versions & 1 rubygems