Class: Capistrano::Command::Tree::ConditionBranch

Class | Capistrano::Command::Tree::ConditionBranch
In: | lib/capistrano/command.rb lib/capistrano/command.rb
Parent: | Branch

### Methods

match match new new to_s to_s

### Classes and Modules

Class Capistrano::Command::Tree::ConditionBranch::Evaluator

### Attributes

condition | [RW] |
condition | [RW] |
configuration | [RW] |
configuration | [RW] |

### Public Class methods

new(configuration, condition, command, options, callback)

[Source]

        # File lib/capistrano/command.rb, line 82
    82:         def initialize(configuration, condition, command, options, callback)
    83:           @configuration = configuration
    84:           @condition = condition
    85:           super(command, options, callback)
    86:         end

new(configuration, condition, command, options, callback)

[Source]

        # File lib/capistrano/command.rb, line 82
    82:         def initialize(configuration, condition, command, options, callback)
    83:           @configuration = configuration
    84:           @condition = condition
    85:           super(command, options, callback)
    86:         end

### Public Instance methods

match(server)

[Source]

        # File lib/capistrano/command.rb, line 88
    88:         def match(server)
    89:           Evaluator.new(configuration, condition, server).result
    90:         end

match(server)

[Source]

        # File lib/capistrano/command.rb, line 88
    88:         def match(server)
    89:           Evaluator.new(configuration, condition, server).result
    90:         end

to_s()

[Source]

        # File lib/capistrano/command.rb, line 92
    92:         def to_s
    93:           "#{condition.inspect} :: #{command.inspect}"
    94:         end

to_s()

[Source]

        # File lib/capistrano/command.rb, line 92
    92:         def to_s
    93:           "#{condition.inspect} :: #{command.inspect}"
    94:         end

[Validate]