Module: Testcloud::Config

Defined in:
lib/testcloud/config.rb,
lib/testcloud/config/errors.rb,
lib/testcloud/config/loader.rb,
lib/testcloud/config/manager.rb,
lib/testcloud/config/version.rb,
lib/testcloud/config/settings.rb,
lib/testcloud/config/gem_version.rb,
lib/testcloud/config/configuration.rb

Defined Under Namespace

Modules: Errors, VERSION Classes: Configuration, Loader, Manager, Settings

Class Method Summary collapse

Class Method Details

.gem_versionObject



6
7
8
# File 'lib/testcloud/config/version.rb', line 6

def gem_version
  VERSION.gem_version
end

.setup(options = {}, &block) ⇒ Object



17
18
19
20
21
22
# File 'lib/testcloud/config.rb', line 17

def setup(options = {}, &block)
  lock = Monitor.new
  lock.synchronize do
    Manager.new(options, &block)
  end
end

.versionObject



10
11
12
# File 'lib/testcloud/config/version.rb', line 10

def version
  VERSION::STRING
end