Class: Bosh::Deployer::InstanceManager::LoggerRenderer
- Inherits:
-
Object
- Object
- Bosh::Deployer::InstanceManager::LoggerRenderer
- Defined in:
- lib/deployer/instance_manager.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
Returns the value of attribute index.
-
#stage ⇒ Object
Returns the value of attribute stage.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
- #enter_stage(stage, total) ⇒ Object
-
#initialize ⇒ LoggerRenderer
constructor
A new instance of LoggerRenderer.
- #update(state, task) ⇒ Object
Constructor Details
#initialize ⇒ LoggerRenderer
Returns a new instance of LoggerRenderer.
14 15 16 |
# File 'lib/deployer/instance_manager.rb', line 14 def initialize enter_stage("Deployer", 0) end |
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index.
12 13 14 |
# File 'lib/deployer/instance_manager.rb', line 12 def index @index end |
#stage ⇒ Object
Returns the value of attribute stage.
12 13 14 |
# File 'lib/deployer/instance_manager.rb', line 12 def stage @stage end |
#total ⇒ Object
Returns the value of attribute total.
12 13 14 |
# File 'lib/deployer/instance_manager.rb', line 12 def total @total end |
Instance Method Details
#enter_stage(stage, total) ⇒ Object
18 19 20 21 22 |
# File 'lib/deployer/instance_manager.rb', line 18 def enter_stage(stage, total) @stage = stage @total = total @index = 0 end |