Sha256: ae88af855100cc91d09fe73459ecbed99a70593c56134171113dac0327fdabbf

Contents?: true

Size: 174 Bytes

Versions: 3

Compression:

Stored size: 174 Bytes

Contents

class String
  # Returns an array of characters.
  #
  #   require 'facet/string/chars'
  #
  #   "abc".chars  #=> ["a","b","c"]
  #
  def chars
    self.split(//)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-0.7.0 lib/facet/string/chars.rb
facets-0.7.1 lib/facet/string/chars.rb
facets-0.7.2 lib/facet/string/chars.rb