Parent

Class Index [+]

Quicksearch

Capistrano::Command::Tree::Branch

Attributes

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

Public Class Methods

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

Public Instance Methods

last?() click to toggle source
    # File lib/capistrano/command.rb, line 30
30:         def last?
31:           options[:last]
32:         end
match(server) click to toggle source
    # File lib/capistrano/command.rb, line 42
42:         def match(server)
43:           true
44:         end
skip!() click to toggle source
    # File lib/capistrano/command.rb, line 38
38:         def skip!
39:           @skip = true
40:         end
skip?() click to toggle source
    # File lib/capistrano/command.rb, line 34
34:         def skip?
35:           @skip
36:         end
to_s() click to toggle source
    # File lib/capistrano/command.rb, line 46
46:         def to_s
47:           command.inspect
48:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.