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