Class: BunnyMock::Consumer
- Inherits:
-
Object
- Object
- BunnyMock::Consumer
- Defined in:
- lib/support/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.
25 26 27 |
# File 'lib/support/bunny_mock.rb', line 25 def initialize(c) self. = c end |
Instance Attribute Details
#message_count ⇒ Object
Returns the value of attribute message_count.
24 25 26 |
# File 'lib/support/bunny_mock.rb', line 24 def @message_count end |