aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-10-31 01:47:35 -0400
committerGitHub <noreply@github.com>2017-10-31 01:47:35 -0400
commita8ebd48559bea8893aa299f9e27758da0807ef24 (patch)
treeb0ef2612159498f9cb9d540fb4982b8d664ca714 /activesupport/test
parent2240d4439910232ff6ad906edc03bed9bbe2001a (diff)
parentc40b4428e6d3885a8adc0ceba3aeac7599c14879 (diff)
downloadrails-a8ebd48559bea8893aa299f9e27758da0807ef24.tar.gz
rails-a8ebd48559bea8893aa299f9e27758da0807ef24.tar.bz2
rails-a8ebd48559bea8893aa299f9e27758da0807ef24.zip
Merge pull request #31004 from shuheiktgw/remove_unnecessary_returns
Remove redundant return statements
Diffstat (limited to 'activesupport/test')
-rw-r--r--activesupport/test/core_ext/module/remove_method_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/test/core_ext/module/remove_method_test.rb b/activesupport/test/core_ext/module/remove_method_test.rb
index dbf71b477d..8493be8d08 100644
--- a/activesupport/test/core_ext/module/remove_method_test.rb
+++ b/activesupport/test/core_ext/module/remove_method_test.rb
@@ -6,22 +6,22 @@ require "active_support/core_ext/module/remove_method"
module RemoveMethodTests
class A
def do_something
- return 1
+ 1
end
def do_something_protected
- return 1
+ 1
end
protected :do_something_protected
def do_something_private
- return 1
+ 1
end
private :do_something_private
class << self
def do_something_else
- return 2
+ 2
end
end
end