Module: Capistrano::NetStorage

Extended by:
Forwardable
Defined in:
lib/capistrano/net_storage/base.rb,
lib/capistrano/net_storage/error.rb,
lib/capistrano/net_storage/utils.rb,
lib/capistrano/net_storage/config.rb,
lib/capistrano/net_storage/plugin.rb,
lib/capistrano/net_storage/bundler.rb,
lib/capistrano/net_storage/cleaner.rb,
lib/capistrano/net_storage/version.rb,
lib/capistrano/net_storage/scm/base.rb,
lib/capistrano/net_storage/coordinator.rb,
lib/capistrano/net_storage/archiver/base.rb,
lib/capistrano/net_storage/transport/base.rb

Defined Under Namespace

Modules: Archiver, SCM, Transport, Utils Classes: Bundler, Cleaner, Config, Coordinator, Error, Plugin

Constant Summary collapse

VERSION =
'0.4.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject (readonly)

Returns the value of attribute config.



6
7
8
# File 'lib/capistrano/net_storage/base.rb', line 6

def config
  @config
end

.coordinatorObject (readonly)

Returns the value of attribute coordinator.



6
7
8
# File 'lib/capistrano/net_storage/base.rb', line 6

def coordinator
  @coordinator
end

Class Method Details

.setup!(params = nil) ⇒ Object



12
13
14
15
16
# File 'lib/capistrano/net_storage/base.rb', line 12

def self.setup!(params = nil)
  params       ||= yield
  @config        = params[:config]
  @coordinator   = params[:coordinator]
end