Method: Cadence::Workflow::Dispatcher#initialize
- Defined in:
- lib/cadence/workflow/dispatcher.rb
#initialize ⇒ Dispatcher
Returns a new instance of Dispatcher.
6 7 8 |
# File 'lib/cadence/workflow/dispatcher.rb', line 6 def initialize @handlers = Hash.new { |hash, key| hash[key] = [] } end |