Class: Flotte::Initialization
- Inherits:
-
Object
- Object
- Flotte::Initialization
- Defined in:
- lib/flotte/initialization.rb
Instance Attribute Summary collapse
- #config_path ⇒ String readonly
- #registry ⇒ Flotte::Registry readonly
Instance Method Summary collapse
-
#initialize(config_path, registry) ⇒ Initialization
constructor
A new instance of Initialization.
- #perform ⇒ Object
Constructor Details
#initialize(config_path, registry) ⇒ Initialization
Returns a new instance of Initialization.
10 11 12 13 |
# File 'lib/flotte/initialization.rb', line 10 def initialize(config_path, registry) @config_path = config_path @registry = registry end |
Instance Attribute Details
#config_path ⇒ String (readonly)
6 7 8 |
# File 'lib/flotte/initialization.rb', line 6 def config_path @config_path end |
#registry ⇒ Flotte::Registry (readonly)
4 5 6 |
# File 'lib/flotte/initialization.rb', line 4 def registry @registry end |
Instance Method Details
#perform ⇒ Object
15 16 17 18 |
# File 'lib/flotte/initialization.rb', line 15 def perform init_hosts init_services end |