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:
parent
e2c49e6a59
commit
e79d47847a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue