Skip to content
This repository
Browse code

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

  • Loading branch information...
commit e79d47847a75d63a66a3ed2296271fd28d41f24c 1 parent e2c49e6
Jeremy Kemper jeremy authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 activesupport/lib/active_support/inflector.rb
4 activesupport/lib/active_support/inflector.rb
@@ -15,7 +15,7 @@ module Inflector
15 15 # A singleton instance of this class is yielded by Inflector.inflections, which can then be used to specify additional
16 16 # inflection rules. Examples:
17 17 #
18   - # Inflector.inflections do |inflect|
  18 + # ActiveSupport::Inflector.inflections do |inflect|
19 19 # inflect.plural /^(ox)$/i, '\1\2en'
20 20 # inflect.singular /^(ox)en/i, '\1'
21 21 #
@@ -97,7 +97,7 @@ def clear(scope = :all)
97 97 # inflector rules.
98 98 #
99 99 # Example:
100   - # Inflector.inflections do |inflect|
  100 + # ActiveSupport::Inflector.inflections do |inflect|
101 101 # inflect.uncountable "rails"
102 102 # end
103 103 def inflections

0 comments on commit e79d478

Please sign in to comment.
Something went wrong with that request. Please try again.