diff options
author | Shuhei Kitagawa <shuhei.kitagawa@c-fo.com> | 2017-10-28 17:20:38 +0900 |
---|---|---|
committer | Shuhei Kitagawa <shuhei.kitagawa@c-fo.com> | 2017-10-28 17:20:38 +0900 |
commit | c40b4428e6d3885a8adc0ceba3aeac7599c14879 (patch) | |
tree | 3e947346605a4032d95fc28b6b38da7c624c2e81 /activesupport/lib/active_support/concern.rb | |
parent | bf6456e05395583809f4565844a8dc088431fce7 (diff) | |
download | rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.tar.gz rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.tar.bz2 rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.zip |
removed unnecessary returns
Diffstat (limited to 'activesupport/lib/active_support/concern.rb')
-rw-r--r-- | activesupport/lib/active_support/concern.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/concern.rb b/activesupport/lib/active_support/concern.rb index 32b5ca986b..b0a0d845e5 100644 --- a/activesupport/lib/active_support/concern.rb +++ b/activesupport/lib/active_support/concern.rb @@ -113,7 +113,7 @@ module ActiveSupport def append_features(base) if base.instance_variable_defined?(:@_dependencies) base.instance_variable_get(:@_dependencies) << self - return false + false else return false if base < self @_dependencies.each { |dep| base.include(dep) } |