Sha256: 2a5a0b02d05e62b6c9348f8a0c13ad5d23c496bc5789da6c10e70ad968d978bb

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

unless (RUBY_VERSION[0,3] == '1.9')

  class String

    # Returns an array of characters.
    #
    #   "abc".chars  #=> ["a","b","c"]

    def chars
      self.split(//)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 lib/core/facets/string/chars.rb
facets-2.4.3 lib/core/facets/string/chars.rb