Method: Arrow::DispatcherLoader#initialize
- Defined in:
- lib/arrow/dispatcherloader.rb
#initialize(hostsfile) ⇒ DispatcherLoader
Create a loader that will create dispatchers from the given hostsfile, which is a YAML hash that maps dispatcher names to a configfile path.
16 17 18 19 20 21 22 |
# File 'lib/arrow/dispatcherloader.rb', line 16 def initialize( hostsfile ) require 'arrow/applet' require 'arrow/dispatcher' require 'arrow/broker' @hostsfile = hostsfile end |