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