Module: Rig

Defined in:
lib/rig/log.rb,
lib/rig/config.rb,
lib/rig/plugin.rb,
lib/rig/account.rb,
lib/rig/command.rb,
lib/rig/version.rb,
lib/rig/template.rb,
lib/rig/model/dns.rb,
lib/rig/capistrano.rb,
lib/rig/command/dns.rb,
lib/rig/command/ssh.rb,
lib/rig/model/account.rb,
lib/rig/command/config.rb,
lib/rig/command/server.rb,
lib/rig/model/balancer.rb,
lib/rig/model/instance.rb,
lib/rig/model/userdata.rb,
lib/rig/command/account.rb,
lib/rig/command/keypair.rb,
lib/rig/command/options.rb,
lib/rig/command/abstract.rb,
lib/rig/command/balancer.rb,
lib/rig/model/connection.rb,
lib/rig/model/environment.rb,
lib/rig/command/environment.rb

Defined Under Namespace

Modules: Account, Capistrano, Command, Config, Connection, Log, Model, Plugin, Template, Version

Class Method Summary collapse

Class Method Details

.accountObject



46
47
48
# File 'lib/rig/config.rb', line 46

def 
  Rig::Account.data
end

.configObject



42
43
44
# File 'lib/rig/config.rb', line 42

def config
  Rig::Config.data
end

.get_config(name) ⇒ Object



50
51
52
# File 'lib/rig/config.rb', line 50

def get_config(name)
  Rig.[name] || Rig.config[name] || nil
end

.get_template(name) ⇒ Object



54
55
56
# File 'lib/rig/config.rb', line 54

def get_template(name)
  Rig::Template.load(name)
end