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

[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

[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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Source]

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

[Validate]