Class: Capistrano::Command::Tree::ElseBranch
- Defined in:
- lib/capistrano/command.rb
Instance Attribute Summary
Attributes inherited from Branch
#callback, #command, #condition, #options
Instance Method Summary collapse
-
#initialize(command, options, callback) ⇒ ElseBranch
constructor
A new instance of ElseBranch.
Methods inherited from Branch
#last?, #match, #skip!, #skip?, #to_s
Constructor Details
#initialize(command, options, callback) ⇒ ElseBranch
Returns a new instance of ElseBranch.
98 99 100 101 |
# File 'lib/capistrano/command.rb', line 98 def initialize(command, , callback) @condition = "else" super(command, , callback) end |