Class: Chickadee::Bootstrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/chickadee/bootstrapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(container_class, installer) ⇒ Bootstrapper

Returns a new instance of Bootstrapper.



3
4
5
6
# File 'lib/chickadee/bootstrapper.rb', line 3

def initialize(container_class, installer)
  @container_class = container_class
  @installer = installer
end

Instance Method Details

#new_bootstrap_containerObject



8
9
10
# File 'lib/chickadee/bootstrapper.rb', line 8

def new_bootstrap_container
  @container_class.install(@installer)
end