diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-02-11 09:06:28 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-02-11 09:08:16 +0100 |
commit | 92f567ab30f240a1de152061a6eee76ca6c4da86 (patch) | |
tree | 69eed547b50c13f9a004b7f10763a5ee26e1c4f4 /activesupport | |
parent | 488885a22355216193e5e1de4bde6e0e8b42b539 (diff) | |
download | rails-92f567ab30f240a1de152061a6eee76ca6c4da86.tar.gz rails-92f567ab30f240a1de152061a6eee76ca6c4da86.tar.bz2 rails-92f567ab30f240a1de152061a6eee76ca6c4da86.zip |
docs, hide inflector comment targeting only contributors. [ci skip]
This is a follow up to: https://github.com/rails/rails/commit/07c70245a128cfe42f134be8759963dc98f1a63e
As suggested by @fxn this comment should not be visible in the API:
https://github.com/rails/rails/commit/07c70245a128cfe42f134be8759963dc98f1a63e#commitcomment-5331658
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/inflections.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/inflections.rb b/activesupport/lib/active_support/inflections.rb index d844e70750..2ca1124e76 100644 --- a/activesupport/lib/active_support/inflections.rb +++ b/activesupport/lib/active_support/inflections.rb @@ -1,9 +1,11 @@ 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 # 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. +#++ module ActiveSupport Inflector.inflections(:en) do |inflect| inflect.plural(/$/, 's') |