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