diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:39:32 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:39:32 +0000 |
commit | 7bb66351888fb67e46958c5e21dce09e6980c1a8 (patch) | |
tree | 04c29e2ec382cd85f89766c60a1af4b28c380422 /lib/custodian/protocoltest/mysql.rb | |
parent | e0868062c1132f1816479515a22a8f55d2dddee9 (diff) |
Avoid useless wrapping of return-value.
This:
def foo
line
end
Is the same as this:
def foo
return( line )
end
Diffstat (limited to 'lib/custodian/protocoltest/mysql.rb')
-rw-r--r-- | lib/custodian/protocoltest/mysql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/mysql.rb b/lib/custodian/protocoltest/mysql.rb index d61a821..36a0677 100644 --- a/lib/custodian/protocoltest/mysql.rb +++ b/lib/custodian/protocoltest/mysql.rb @@ -62,7 +62,7 @@ module Custodian # Allow this test to be serialized. # def to_s - return( @line ) + @line end |