aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test
diff options
context:
space:
mode:
authorShuhei Kitagawa <shuhei.kitagawa@c-fo.com>2017-10-28 17:20:38 +0900
committerShuhei Kitagawa <shuhei.kitagawa@c-fo.com>2017-10-28 17:20:38 +0900
commitc40b4428e6d3885a8adc0ceba3aeac7599c14879 (patch)
tree3e947346605a4032d95fc28b6b38da7c624c2e81 /activesupport/test
parentbf6456e05395583809f4565844a8dc088431fce7 (diff)
downloadrails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.tar.gz
rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.tar.bz2
rails-c40b4428e6d3885a8adc0ceba3aeac7599c14879.zip
removed unnecessary returns
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