Sha256: 9cec8a3887ee8c01f8f5fd11dde6bd2289f26246d8f1778f27fa461dd037fbc3
Contents?: true
Size: 387 Bytes
Versions: 6
Compression:
Stored size: 387 Bytes
Contents
class String # Some other library is defining this method but it is # returning an Enumerator, not an array. Therefore we're # overriding it regardless of it's inclusion in 1.9. # unless defined?(::ActiveSupport) # 1.9 & ActiveSupport # Returns an array of characters. # # "abc".chars #=> ["a","b","c"] # def chars split(//) end end end
Version data entries
6 entries across 6 versions & 1 rubygems