Class: Ufo::Docker::State::Base
- Inherits:
-
Object
- Object
- Ufo::Docker::State::Base
- Includes:
- Utils::Logging, Utils::Pretty
- Defined in:
- lib/ufo/docker/state/base.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Utils::Pretty
#pretty_home, #pretty_path, #pretty_time
Methods included from Utils::Logging
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 = # 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 = [:base_image] end |