diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-07 17:50:59 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-07 17:50:59 +0900 |
commit | 762e3f05f3d372cb32570db0deeef27232c4dd00 (patch) | |
tree | 2c3225f7698ef3f7b2556510136c64a58ecf7355 /activesupport/lib | |
parent | 0d12708f3967fe93c172b30bd3e98e4433761c36 (diff) | |
download | rails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.gz rails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.bz2 rails-762e3f05f3d372cb32570db0deeef27232c4dd00.zip |
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'activesupport/lib')
3 files changed, 0 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/concurrency/share_lock.rb b/activesupport/lib/active_support/concurrency/share_lock.rb index e61dadd0cc..8969ebb080 100644 --- a/activesupport/lib/active_support/concurrency/share_lock.rb +++ b/activesupport/lib/active_support/concurrency/share_lock.rb @@ -13,7 +13,6 @@ module ActiveSupport # we need exclusive locks to be reentrant, and we need to be able # to upgrade share locks to exclusive. - def raw_state # :nodoc: synchronize do threads = @sleeping.keys | @sharing.keys | @waiting.keys diff --git a/activesupport/lib/active_support/hash_with_indifferent_access.rb b/activesupport/lib/active_support/hash_with_indifferent_access.rb index fc0123c956..ad6c4f8e8c 100644 --- a/activesupport/lib/active_support/hash_with_indifferent_access.rb +++ b/activesupport/lib/active_support/hash_with_indifferent_access.rb @@ -161,7 +161,6 @@ module ActiveSupport alias_method :has_key?, :key? alias_method :member?, :key? - # Same as <tt>Hash#[]</tt> where the key passed as argument can be # either a string or a symbol: # diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 5ea3a7010b..a8e98b704a 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -66,7 +66,6 @@ module ActiveSupport alias :assert_not_respond_to :refute_respond_to alias :assert_not_same :refute_same - # Assertion that the block should not raise an exception. # # Passes if evaluated code in the yielded block raises no exception. |