# File lib/puppet/network/xmlrpc/webrick_servlet.rb, line 23 23: def initialize(handlers) 24: # the servlet base class does not consume any arguments 25: # and its BasicServer base class only accepts a 'class_delim' 26: # option which won't change in Puppet at all 27: # thus, we don't need to pass any args to our base class, 28: # and we can consume them all ourselves 29: super() 30: 31: setup_processor 32: 33: # Set up each of the passed handlers. 34: handlers.each do |handler| 35: add_handler(handler.class.interface, handler) 36: end 37: end