# File lib/capistrano/command.rb, line 112 112: def branches_for(server) 113: seen_last = false 114: matches = branches.select do |branch| 115: success = !seen_last && !branch.skip? && branch.match(server) 116: seen_last = success && branch.last? 117: success 118: end 119: 120: matches << fallback if matches.empty? && fallback 121: return matches 122: end
# File lib/capistrano/command.rb, line 124 124: def each 125: branches.each { |branch| yield branch } 126: yield fallback if fallback 127: return self 128: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.