Class: ThemeJuice::Tasks::Stage
- Inherits:
-
ThemeJuice::Task
- Object
- ThemeJuice::Task
- ThemeJuice::Tasks::Stage
- Includes:
- Capistrano::DSL
- Defined in:
- lib/theme-juice/tasks/stage.rb
Instance Attribute Summary
Attributes inherited from ThemeJuice::Task
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize ⇒ Stage
constructor
A new instance of Stage.
Methods inherited from ThemeJuice::Task
Constructor Details
#initialize ⇒ Stage
Returns a new instance of Stage.
8 9 10 11 12 |
# File 'lib/theme-juice/tasks/stage.rb', line 8 def initialize super @stage = @config.deployment.stages.send(@env.stage).symbolize_keys end |
Instance Method Details
#execute ⇒ Object
14 15 16 |
# File 'lib/theme-juice/tasks/stage.rb', line 14 def execute configure_stage end |