diff options
author | Matthew Draper <matthew@trebex.net> | 2018-01-19 17:49:21 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-19 17:49:21 +1030 |
commit | acbcef6094d61eb8c4820295620d170743a4bd71 (patch) | |
tree | f0a6d4d0d145464307c2578a7fb43d799bb8d337 /activesupport/lib/active_support/dependencies.rb | |
parent | 6559577d1d3fdb16187eda124bb71dd48d217c9d (diff) | |
parent | 5ac6ec54a673e493cddf6bf2eff5b98e52b3c268 (diff) | |
download | rails-acbcef6094d61eb8c4820295620d170743a4bd71.tar.gz rails-acbcef6094d61eb8c4820295620d170743a4bd71.tar.bz2 rails-acbcef6094d61eb8c4820295620d170743a4bd71.zip |
Merge pull request #31732 from koic/enable_autocorrect_for_lint_end_alignment_cop
Enable autocorrect for `Lint/EndAlignment` cop
Diffstat (limited to 'activesupport/lib/active_support/dependencies.rb')
-rw-r--r-- | activesupport/lib/active_support/dependencies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index 82c10b3079..abc648e0c6 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -670,7 +670,7 @@ module ActiveSupport #:nodoc: when Module desc.name || raise(ArgumentError, "Anonymous modules have no name to be referenced by") - else raise TypeError, "Not a valid constant descriptor: #{desc.inspect}" + else raise TypeError, "Not a valid constant descriptor: #{desc.inspect}" end end |