summaryrefslogtreecommitdiff
path: root/bin/custodian-dequeue
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
commit262c7d9360b23cb06d60f0b0692379555e691274 (patch)
tree4d8258b06c38bf1467e773b61bbb1ab57780e945 /bin/custodian-dequeue
parent2c1d04d0042994f65816f592e50709637795f31f (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 'bin/custodian-dequeue')
-rwxr-xr-xbin/custodian-dequeue2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue
index 349ff31..c5c5309 100755
--- a/bin/custodian-dequeue
+++ b/bin/custodian-dequeue
@@ -90,7 +90,7 @@ if __FILE__ == $PROGRAM_NAME then
end
end
rescue StandardError => ex
- puts "Option parsing failed: #{ex.to_s}"
+ puts "Option parsing failed: #{ex}"
exit
end