Skip to content

Commit

Permalink
Qualify Inflector in rdoc examples also. [#356 state:resolved]
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jun 6, 2008
1 parent e2c49e6 commit e79d478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activesupport/lib/active_support/inflector.rb
Expand Up @@ -15,7 +15,7 @@ module Inflector
# 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'
#
Expand Down Expand Up @@ -97,7 +97,7 @@ def clear(scope = :all)
# inflector rules.
#
# Example:
# Inflector.inflections do |inflect|
# ActiveSupport::Inflector.inflections do |inflect|
# inflect.uncountable "rails"
# end
def inflections
Expand Down

0 comments on commit e79d478

Please sign in to comment.