Class: Droonga::Test::StubDistributor
- Inherits:
-
Object
- Object
- Droonga::Test::StubDistributor
- Defined in:
- lib/droonga/test/stub_distributor.rb
Instance Attribute Summary collapse
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
Instance Method Summary collapse
- #distribute(message) ⇒ Object
-
#initialize ⇒ StubDistributor
constructor
A new instance of StubDistributor.
Constructor Details
#initialize ⇒ StubDistributor
Returns a new instance of StubDistributor.
22 23 24 |
# File 'lib/droonga/test/stub_distributor.rb', line 22 def initialize = [] end |
Instance Attribute Details
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
21 22 23 |
# File 'lib/droonga/test/stub_distributor.rb', line 21 def end |
Instance Method Details
#distribute(message) ⇒ Object
26 27 28 |
# File 'lib/droonga/test/stub_distributor.rb', line 26 def distribute() << end |