Sha256: 579203286fdfbb36ef63f12fb1dadc93ebc25d6a77049315dcc1d2271d5cf117
Contents?: true
Size: 200 Bytes
Versions: 5
Compression:
Stored size: 200 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
5 entries across 5 versions & 2 rubygems