Class: Capistrano::Command::Tree::ElseBranch

Inherits:
Branch
  • Object
show all
Defined in:
lib/capistrano/command.rb

Instance Attribute Summary

Attributes inherited from Branch

#callback, #command, #condition, #options

Instance Method Summary collapse

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, options, callback)
  @condition = "else"
  super(command, options, callback)
end