Method: Ufo::Docker::State::Base#initialize

Defined in:
lib/ufo/docker/state/base.rb

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



6
7
8
9
10
11
12
# File 'lib/ufo/docker/state/base.rb', line 6

def initialize(options={})
  @options = options
  # base_image only passed in with: ufo docker base
  # State#update uses it.
  # State#read wont have access to it and gets it from stored state
  @base_image = options[:base_image]
end