Class: Burninator::Warmer
- Inherits:
-
Object
- Object
- Burninator::Warmer
- Defined in:
- lib/burninator/warmer.rb
Instance Method Summary collapse
-
#initialize(redis, channel, connection) ⇒ Warmer
constructor
A new instance of Warmer.
- #run ⇒ Object
Constructor Details
#initialize(redis, channel, connection) ⇒ Warmer
Returns a new instance of Warmer.
3 4 5 6 7 |
# File 'lib/burninator/warmer.rb', line 3 def initialize(redis, channel, connection) @redis = redis @channel = channel @connection = connection end |
Instance Method Details
#run ⇒ Object
9 10 11 12 |
# File 'lib/burninator/warmer.rb', line 9 def run trap_signals subscribe end |