Class: Harmoniser::Mock::Channel::MockQueue
- Inherits:
-
Object
- Object
- Harmoniser::Mock::Channel::MockQueue
- Defined in:
- lib/harmoniser/mock/channel.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(name, opts = {}) ⇒ MockQueue
constructor
A new instance of MockQueue.
Constructor Details
#initialize(name, opts = {}) ⇒ MockQueue
Returns a new instance of MockQueue.
40 41 42 43 |
# File 'lib/harmoniser/mock/channel.rb', line 40 def initialize(name, opts = {}) @name = name @opts = opts end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
38 39 40 |
# File 'lib/harmoniser/mock/channel.rb', line 38 def name @name end |
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
38 39 40 |
# File 'lib/harmoniser/mock/channel.rb', line 38 def opts @opts end |