summaryrefslogtreecommitdiff
path: root/lib/custodian/queue.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:04:45 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:04:45 +0000
commit4cfe64841e7eb91a314f6e03026e5ffdcd8dcbdf (patch)
treecbb2484048ce5f08052c4d2bf097534588629e54 /lib/custodian/queue.rb
parent0220b5dfebf2bc91a2fe69068179dd436f577a1d (diff)
Omit the parentheses in defs when the method doesn't accept any arguments.
This is neater.
Diffstat (limited to 'lib/custodian/queue.rb')
-rw-r--r--lib/custodian/queue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/queue.rb b/lib/custodian/queue.rb
index e8cfb8a..6e252e9 100644
--- a/lib/custodian/queue.rb
+++ b/lib/custodian/queue.rb
@@ -62,7 +62,7 @@ module Custodian
#
# Empty the queue
#
- def flush!()
+ def flush!
raise "Subclasses must implement this method!"
end
end