diff options
| author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:54:51 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 12:54:51 +0000 | 
| commit | 5c3c1293fb00653166a01c20bad3fb1842f48e5b (patch) | |
| tree | d29bbdb526080267876645e6271a0f2a7afc4a49 /lib/custodian/queue.rb | |
| parent | 7867669e6bf465539234f81e0d3abe18304c7a4c (diff) | |
Avoid arguments we're not using.
Having methods take arguments which are ignored is a misleading thing,
prefix with "_" to make that explicit, or remove.
Diffstat (limited to 'lib/custodian/queue.rb')
| -rw-r--r-- | lib/custodian/queue.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/custodian/queue.rb b/lib/custodian/queue.rb index 1bdbee2..e8cfb8a 100644 --- a/lib/custodian/queue.rb +++ b/lib/custodian/queue.rb @@ -38,7 +38,7 @@ module Custodian      #      # Retrieve a job from the queue.      # -    def fetch(timeout) +    def fetch(_timeout)        raise "Subclasses must implement this method!"      end @@ -46,7 +46,7 @@ module Custodian      #      # Add a new job to the queue.      # -    def add(job_string) +    def add(_job_string)        raise "Subclasses must implement this method!"      end | 
