Sha256: 92de35b75816f38890350b917ea270a6931e5db57330a7b48034647da245011a

Contents?: true

Size: 1.79 KB

Versions: 15

Compression:

Stored size: 1.79 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.
#
#================================================================================
# Revision History
#================================================================================
#  2005-10-25  trans
#================================================================================
#++

#: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
#
# = Author(s)
#
# * Thomas Sawyer
# * (see Facets for corollary)
#

require 'facet/string/singular'
require 'facet/string/plural'

require 'facet/string/camelcase'
require 'facet/string/camelize'

require 'facet/string/underscore'
require 'facet/string/humanize'

require 'facet/string/basename'
require 'facet/string/demodulize'
require 'facet/string/modulize'
require 'facet/string/methodize'
require 'facet/string/pathize'

require 'facet/string/upcase'
require 'facet/string/downcase'
require 'facet/string/capitalized'

require 'facet/string/ordinal'

# don't exist, should they?
#require 'facet/symbol/singular'
#require 'facet/symbol/plural'

require 'facet/symbol/camelcase'
require 'facet/symbol/camelize'

require 'facet/symbol/underscore'

require 'facet/symbol/upcase'
require 'facet/symbol/downcase'
require 'facet/symbol/capitalize'
require 'facet/symbol/capitalized'

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
facets-1.2.1 lib/facets/core/inflect.rb
facets-1.3.0 lib/facets/core/inflect.rb
facets-1.3.2 lib/facets/core/inflect.rb
facets-1.3.3 lib/facets/core/inflect.rb
facets-1.3.1 lib/facets/core/inflect.rb
facets-1.4.1 lib/facets/core/inflect.rb
facets-1.4.2 lib/facets/core/inflect.rb
facets-1.4.0 lib/facets/core/inflect.rb
facets-1.4.3 lib/facets/core/inflect.rb
facets-1.4.5 lib/facets/core/inflect.rb
facets-1.4.4 lib/facets/core/inflect.rb
facets-1.7.0 lib/facets/core/inflect.rb
facets-1.7.30 lib/facets/core/inflect.rb
facets-1.7.38 lib/facets/core/inflect.rb
facets-1.7.46 lib/facets/core/inflect.rb