Class: DohLog::MultiAcceptor
Instance Attribute Summary collapse
-
#acceptors ⇒ Object
readonly
Returns the value of attribute acceptors.
Instance Method Summary collapse
- #add(event) ⇒ Object
-
#initialize(*acceptors) ⇒ MultiAcceptor
constructor
A new instance of MultiAcceptor.
- #shutdown ⇒ Object
Constructor Details
#initialize(*acceptors) ⇒ MultiAcceptor
Returns a new instance of MultiAcceptor.
6 7 8 |
# File 'lib/dohlog/multi_acceptor.rb', line 6 def initialize(*acceptors) @acceptors = acceptors end |
Instance Attribute Details
#acceptors ⇒ Object (readonly)
Returns the value of attribute acceptors.
4 5 6 |
# File 'lib/dohlog/multi_acceptor.rb', line 4 def acceptors @acceptors end |