Module: ResqueSerial::Extender::ClassMethods
- Defined in:
- lib/resque-serial/extender.rb
Instance Method Summary collapse
Instance Method Details
#priorities ⇒ Object
28 29 30 |
# File 'lib/resque-serial/extender.rb', line 28 def priorities @priorities ||= {} end |
#priority(name, *args) ⇒ Object
32 33 34 |
# File 'lib/resque-serial/extender.rb', line 32 def priority(name, *args) args.each { |arg| self.priorities[arg] = name } end |