Sha256: bc642c2289b4d5acabf4556f50464a2a92445af60504fb1c41cb62c93b2068c2
Contents?: true
Size: 204 Bytes
Versions: 4
Compression:
Stored size: 204 Bytes
Contents
unless (RUBY_VERSION[0,3] == '1.9') class String # Returns an array of characters. # # "abc\n123".lines #=> ["abc","123"] # def lines self.split(/\n/) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
facets-2.6.0 | lib/core/facets/string/lines.rb |
facets-2.5.0 | lib/core/facets/string/lines.rb |
facets-2.5.1 | lib/core/facets/string/lines.rb |
facets-2.5.2 | lib/core/facets/string/lines.rb |