1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Qualify Inflector in rdoc examples also. [#356 state:resolved]

This commit is contained in:
Jeremy Kemper 2008-06-06 13:03:59 -07:00
parent e2c49e6a59
commit e79d47847a

View file

@ -15,7 +15,7 @@ module ActiveSupport
# A singleton instance of this class is yielded by Inflector.inflections, which can then be used to specify additional
# inflection rules. Examples:
#
# Inflector.inflections do |inflect|
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1\2en'
# inflect.singular /^(ox)en/i, '\1'
#
@ -97,7 +97,7 @@ module ActiveSupport
# inflector rules.
#
# Example:
# Inflector.inflections do |inflect|
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.uncountable "rails"
# end
def inflections