Class: Rodbot::Async::Job
- Inherits:
-
Object
- Object
- Rodbot::Async::Job
- Includes:
- SuckerPunch::Job
- Defined in:
- lib/rodbot/async.rb
Instance Method Summary collapse
-
#perform(proc) ⇒ Object
Generic job which simply calls a proc.
Instance Method Details
#perform(proc) ⇒ Object
Generic job which simply calls a proc
40 41 42 |
# File 'lib/rodbot/async.rb', line 40 def perform(proc) proc.call end |