Sha256: d569142472e581695961cf9c864cfff82abfb5578cde4c9614f6bd9e811177ac
Contents?: true
Size: 1.61 KB
Versions: 3
Compression:
Stored size: 1.61 KB
Contents
# = Inflect # # == Copyright (c) 2005 Thomas Sawyer # # Ruby License # # This module is free software. You may use, modify, and/or redistribute this # software under the same terms as Ruby. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. # # == Author(s) # # * 7rans #:title: Inflect # # Collection of Facets that apply to inflecting a String or Symbol. # # "dog".plural #=> "dogs" # "dog_tail".camelcase #=> "DogTail" # "1".ordinal #=> "1st" # # :going.upcase #=> :GOING # :Arrow.capitlized? #=> true # require 'facets/core/string/singular' require 'facets/core/string/plural' require 'facets/core/string/camelcase' require 'facets/core/string/camelize' require 'facets/core/string/underscore' require 'facets/core/string/humanize' require 'facets/core/string/basename' require 'facets/core/string/demodulize' require 'facets/core/string/modulize' require 'facets/core/string/methodize' require 'facets/core/string/pathize' require 'facets/core/string/upcase' require 'facets/core/string/downcase' require 'facets/core/string/capitalized' require 'facets/core/string/ordinal' # don't exist, should they? #require 'facets/core/symbol/singular' #require 'facets/core/symbol/plural' require 'facets/core/symbol/camelcase' require 'facets/core/symbol/camelize' require 'facets/core/symbol/underscore' require 'facets/core/symbol/upcase' require 'facets/core/symbol/downcase' require 'facets/core/symbol/capitalize' require 'facets/core/symbol/capitalized'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | lib/facets/core/inflect.rb |
facets-1.8.51 | lib/facets/core/inflect.rb |
facets-1.8.54 | lib/facets/core/inflect.rb |