aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/naming.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-06-13 18:36:23 +0900
committerGitHub <noreply@github.com>2019-06-13 18:36:23 +0900
commit98a57aa5f610bc66af31af409c72173cdeeb3c9e (patch)
tree77365fa7eab9725d5ca185ae3df03508898596f5 /activemodel/lib/active_model/naming.rb
parentc5ecc338e863e771adcbcd87d5c23ae5e7ca7894 (diff)
parentc81af6ae723ccfcd601032167d7b7f57c5449c33 (diff)
downloadrails-98a57aa5f610bc66af31af409c72173cdeeb3c9e.tar.gz
rails-98a57aa5f610bc66af31af409c72173cdeeb3c9e.tar.bz2
rails-98a57aa5f610bc66af31af409c72173cdeeb3c9e.zip
Merge pull request #36472 from kamipo/empty_line_only_before_access_modifier
Enable `Layout/EmptyLinesAroundAccessModifier` cop
Diffstat (limited to 'activemodel/lib/active_model/naming.rb')
-rw-r--r--activemodel/lib/active_model/naming.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/naming.rb b/activemodel/lib/active_model/naming.rb
index bf23fa3c05..6a02d5dbf7 100644
--- a/activemodel/lib/active_model/naming.rb
+++ b/activemodel/lib/active_model/naming.rb
@@ -207,7 +207,6 @@ module ActiveModel
end
private
-
def _singularize(string)
ActiveSupport::Inflector.underscore(string).tr("/", "_")
end