Returns a new instance of Loader.
19 20 21 22 23
# File 'lib/serf/loader/loader.rb', line 19 def initialize(*args) opts = Optser.extract_options! args @registry_class = opts.get :registry_class, Serf::Loader::Registry @builder_class = opts.get :builder_class, Serf::Builder end