From b99b80e3a780a290a87e2cfc10e24946cde45ca7 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/pop3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/protocoltest/pop3.rb') diff --git a/lib/custodian/protocoltest/pop3.rb b/lib/custodian/protocoltest/pop3.rb index 528f508..613b2b4 100644 --- a/lib/custodian/protocoltest/pop3.rb +++ b/lib/custodian/protocoltest/pop3.rb @@ -62,7 +62,7 @@ module Custodian # Allow this test to be serialized. # def to_s - return( @line ) + @line end -- cgit v1.2.1