Method: Agent::Selector#initialize
- Defined in:
- lib/agent/selector.rb
#initialize ⇒ Selector
Returns a new instance of Selector.
21 22 23 24 25 26 27 28 29 |
# File 'lib/agent/selector.rb', line 21 def initialize @ordered_cases = [] @cases = {} @operations = {} @blocking_once = BlockingOnce.new @notifier = Notifier.new @default_case = nil @selected = false end |