mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
docs, hide inflector comment targeting only contributors. [ci skip]
This is a follow up to:07c70245a1
As suggested by @fxn this comment should not be visible in the API:07c70245a1 (commitcomment-5331658)
This commit is contained in:
parent
488885a223
commit
92f567ab30
1 changed files with 3 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
||||||
require 'active_support/inflector/inflections'
|
require 'active_support/inflector/inflections'
|
||||||
|
|
||||||
# Define the standard inflection rules. These define a starting point for
|
#--
|
||||||
|
# Defines the standard inflection rules. These are the starting point for
|
||||||
# new projects and are not considered complete. The current set of inflection
|
# new projects and are not considered complete. The current set of inflection
|
||||||
# rules is frozen. This means, we do not change them to become more complete.
|
# rules is frozen. This means, we do not change them to become more complete.
|
||||||
# This is a safety measure to keep existing applications from breaking.
|
# This is a safety measure to keep existing applications from breaking.
|
||||||
|
#++
|
||||||
module ActiveSupport
|
module ActiveSupport
|
||||||
Inflector.inflections(:en) do |inflect|
|
Inflector.inflections(:en) do |inflect|
|
||||||
inflect.plural(/$/, 's')
|
inflect.plural(/$/, 's')
|
||||||
|
|
Loading…
Reference in a new issue