From 82171c3406a790ac9740c439e2aafce21853e0a0 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:14:15 +0000 Subject: Avoid redudent returns. The last expression of a method is the return value. So: def foo; false ; end Is the same as: def foo; return false; end --- lib/custodian/protocoltest/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/protocoltest/http.rb') diff --git a/lib/custodian/protocoltest/http.rb b/lib/custodian/protocoltest/http.rb index 9226441..665e789 100644 --- a/lib/custodian/protocoltest/http.rb +++ b/lib/custodian/protocoltest/http.rb @@ -331,7 +331,7 @@ module Custodian # # All done. # - return true + true end # -- cgit v1.2.1