Class: Capistrano::Command::Tree::Branch

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

### Methods

last? last? match match new new skip! skip! skip? skip? to_s to_s

### Attributes

callback | [RW] |
callback | [RW] |
command | [RW] |
command | [RW] |
options | [R] |
options | [R] |

### Public Class methods

new(command, options, callback)

[Source]

        # File lib/capistrano/command.rb, line 22
    22:         def initialize(command, options, callback)
    23:           @command = command.strip.gsub(/\r?\n/, "\\\n")
    24:           @callback = callback || Capistrano::Configuration.default_io_proc
    25:           @options = options
    26:           @skip = false
    27:         end

new(command, options, callback)

[Source]

        # File lib/capistrano/command.rb, line 22
    22:         def initialize(command, options, callback)
    23:           @command = command.strip.gsub(/\r?\n/, "\\\n")
    24:           @callback = callback || Capistrano::Configuration.default_io_proc
    25:           @options = options
    26:           @skip = false
    27:         end

### Public Instance methods

last?()

[Source]

        # File lib/capistrano/command.rb, line 29
    29:         def last?
    30:           options[:last]
    31:         end

last?()

[Source]

        # File lib/capistrano/command.rb, line 29
    29:         def last?
    30:           options[:last]
    31:         end

match(server)

[Source]

        # File lib/capistrano/command.rb, line 41
    41:         def match(server)
    42:           true
    43:         end

match(server)

[Source]

        # File lib/capistrano/command.rb, line 41
    41:         def match(server)
    42:           true
    43:         end

skip!()

[Source]

        # File lib/capistrano/command.rb, line 37
    37:         def skip!
    38:           @skip = true
    39:         end

skip!()

[Source]

        # File lib/capistrano/command.rb, line 37
    37:         def skip!
    38:           @skip = true
    39:         end

skip?()

[Source]

        # File lib/capistrano/command.rb, line 33
    33:         def skip?
    34:           @skip
    35:         end

skip?()

[Source]

        # File lib/capistrano/command.rb, line 33
    33:         def skip?
    34:           @skip
    35:         end

to_s()

[Source]

        # File lib/capistrano/command.rb, line 45
    45:         def to_s
    46:           command.inspect
    47:         end

to_s()

[Source]

        # File lib/capistrano/command.rb, line 45
    45:         def to_s
    46:           command.inspect
    47:         end

[Validate]