mirror of
https://github.com/github/rails.git
synced 2026-02-05 19:55:14 -05:00
Qualify Inflector in rdoc examples also. [#356 state:resolved]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user