Method: Ufo::Docker::Pusher#initialize

Defined in:
lib/ufo/docker/pusher.rb

#initialize(image, options) ⇒ Pusher

Returns a new instance of Pusher.



8
9
10
11
12
13
# File 'lib/ufo/docker/pusher.rb', line 8

def initialize(image, options)
  @options = options
  # docker_image ultimately uses @options, so @last_image_name assignment
  # line must be defined after setting @options.
  @last_image_name = image || docker_image
end