Class: Ufo::Docker::State::Base

Inherits:
Object
  • Object
show all
Includes:
Utils::Logging, Utils::Pretty
Defined in:
lib/ufo/docker/state/base.rb

Direct Known Subclasses

File, S3

Instance Method Summary collapse

Methods included from Utils::Pretty

#pretty_home, #pretty_path, #pretty_time

Methods included from Utils::Logging

#logger

Constructor Details

#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