Class: BunnyMock::Consumer
- Inherits:
-
Object
- Object
- BunnyMock::Consumer
- Defined in:
- lib/bunny_mock.rb
Instance Attribute Summary collapse
-
#message_count ⇒ Object
Returns the value of attribute message_count.
Instance Method Summary collapse
-
#initialize(c) ⇒ Consumer
constructor
A new instance of Consumer.
Constructor Details
#initialize(c) ⇒ Consumer
Returns a new instance of Consumer.
35 36 37 |
# File 'lib/bunny_mock.rb', line 35 def initialize(c) self. = c end |
Instance Attribute Details
#message_count ⇒ Object
Returns the value of attribute message_count.
34 35 36 |
# File 'lib/bunny_mock.rb', line 34 def end |