Class: Celery::Base
- Inherits:
-
Object
- Object
- Celery::Base
- Defined in:
- lib/celery/base.rb
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(attrs = {}) ⇒ Base
Returns a new instance of Base.
4 5 6 |
# File 'lib/celery/base.rb', line 4 def initialize(attrs={}) attrs.each { |key, value| self.send("#{key}=", value) } end |