Class: SpecRunQueue::Queue::Redis
- Defined in:
- lib/spec_run_queue/queue/redis.rb
Instance Attribute Summary collapse
-
#redis ⇒ Object
readonly
Returns the value of attribute redis.
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#initialize, #run, run_rescue_exceptions
Constructor Details
This class inherits a constructor from SpecRunQueue::Queue::Base
Instance Attribute Details
#redis ⇒ Object (readonly)
Returns the value of attribute redis.
7 8 9 |
# File 'lib/spec_run_queue/queue/redis.rb', line 7 def redis @redis end |
Class Method Details
.queue_key ⇒ Object
9 10 11 |
# File 'lib/spec_run_queue/queue/redis.rb', line 9 def self.queue_key @queue_key ||= ["spec_run_queue", Digest::MD5.hexdigest(Dir.pwd)].join(':') end |