Parent

Files

Class/Module Index [+]

Quicksearch

Capistrano::Deploy::SCM::Base::LocalProxy

Wraps an SCM instance and forces all messages sent to it to be relayed to the underlying SCM instance, in "local" mode. See Base#local.

Public Class Methods

new(scm) click to toggle source
# File lib/capistrano/recipes/deploy/scm/base.rb, line 30
def initialize(scm)
  @scm = scm
end

Public Instance Methods

method_missing(sym, *args, &block) click to toggle source
# File lib/capistrano/recipes/deploy/scm/base.rb, line 34
def method_missing(sym, *args, &block)
  @scm.local { return @scm.send(sym, *args, &block) }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.