summaryrefslogtreecommitdiff
path: root/lib/custodian/worker.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 12:52:08 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 12:52:08 +0000
commitb4340b00e2c7a6e85448787d4dee41d7202859f2 (patch)
treedb469a840e4c8bb2ef4f896a67eb62a8459e5dc4 /lib/custodian/worker.rb
parent664ff3648246f38a4c49adc32e1ce0887dcbfe37 (diff)
Avoid redundent ".to_s" methods.
These are not required if the argument is string already, or has a _to_s method which will be automatically invoked by magic.
Diffstat (limited to 'lib/custodian/worker.rb')
-rw-r--r--lib/custodian/worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/worker.rb b/lib/custodian/worker.rb
index df9e117..b411c00 100644
--- a/lib/custodian/worker.rb
+++ b/lib/custodian/worker.rb
@@ -148,7 +148,7 @@ module Custodian
begin
- log_message( "Acquired job: #{test.to_s}" )
+ log_message( "Acquired job: #{test}" )
#
# The count of times this test has run, the result, and the start-time