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

Class | Capistrano::Deploy::SCM::Base::LocalProxy
In: | lib/capistrano/recipes/deploy/scm/base.rb lib/capistrano/recipes/deploy/scm/base.rb
Parent: | Object

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.

### Methods

method_missing method_missing new new

### Public Class methods

new(scm)

[Source]

        # File lib/capistrano/recipes/deploy/scm/base.rb, line 30
    30:           def initialize(scm)
    31:             @scm = scm
    32:           end

new(scm)

[Source]

        # File lib/capistrano/recipes/deploy/scm/base.rb, line 30
    30:           def initialize(scm)
    31:             @scm = scm
    32:           end

### Public Instance methods

method_missing(sym, *args, &block)

[Source]

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

method_missing(sym, *args, &block)

[Source]

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

[Validate]