Class: Cloudq::Base
- Inherits:
-
Object
- Object
- Cloudq::Base
- Defined in:
- lib/cloudq/base.rb
Instance Attribute Summary collapse
-
#queue ⇒ Object
Returns the value of attribute queue.
Instance Method Summary collapse
-
#initialize(queue = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(queue = nil) ⇒ Base
Returns a new instance of Base.
5 6 7 |
# File 'lib/cloudq/base.rb', line 5 def initialize(queue = nil) @queue = queue end |
Instance Attribute Details
#queue ⇒ Object
Returns the value of attribute queue.
3 4 5 |
# File 'lib/cloudq/base.rb', line 3 def queue @queue end |