Class: ThemeJuice::Tasks::Invoke
- Inherits:
-
ThemeJuice::Task
- Object
- ThemeJuice::Task
- ThemeJuice::Tasks::Invoke
- Includes:
- Capistrano::DSL
- Defined in:
- lib/theme-juice/tasks/invoke.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Attributes inherited from ThemeJuice::Task
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(args = []) ⇒ Invoke
constructor
A new instance of Invoke.
Methods inherited from ThemeJuice::Task
Constructor Details
#initialize(args = []) ⇒ Invoke
Returns a new instance of Invoke.
10 11 12 13 14 |
# File 'lib/theme-juice/tasks/invoke.rb', line 10 def initialize(args = []) super @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
8 9 10 |
# File 'lib/theme-juice/tasks/invoke.rb', line 8 def args @args end |
Instance Method Details
#execute ⇒ Object
16 17 18 |
# File 'lib/theme-juice/tasks/invoke.rb', line 16 def execute invoke_capistrano end |