From 7bb66351888fb67e46958c5e21dce09e6980c1a8 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 12:39:32 +0000 Subject: Avoid useless wrapping of return-value. This: def foo line end Is the same as this: def foo return( line ) end --- lib/custodian/protocoltest/redis.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/protocoltest/redis.rb') diff --git a/lib/custodian/protocoltest/redis.rb b/lib/custodian/protocoltest/redis.rb index 41c28c2..aacb8dd 100644 --- a/lib/custodian/protocoltest/redis.rb +++ b/lib/custodian/protocoltest/redis.rb @@ -62,7 +62,7 @@ module Custodian # Allow this test to be serialized. # def to_s - return( @line ) + @line end -- cgit v1.2.1