Class: MarchHareMock::Consumer
- Inherits:
-
Object
- Object
- MarchHareMock::Consumer
- Defined in:
- lib/march_hare_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
136 137 138 |
# File 'lib/march_hare_mock.rb', line 136 def initialize(c) self. = c end |
Instance Attribute Details
#message_count ⇒ Object
Returns the value of attribute message_count.
135 136 137 |
# File 'lib/march_hare_mock.rb', line 135 def end |