Class: Qonfig::Plugins::TOML Private

Inherits:
Abstract show all
Defined in:
lib/qonfig/plugins/toml.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.12.0

Class Method Summary collapse

Class Method Details

.load!void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Raises:

Since:

  • 0.12.0



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/qonfig/plugins/toml.rb', line 11

def load!
  raise(
    Qonfig::UnresolvedPluginDependencyError,
    '::TomlRB does not exist or "toml-rb" gem is not loaded'
  ) unless const_defined?('::TomlRB')

  require_relative 'toml/tomlrb_fixes'
  require_relative 'toml/loaders'
  require_relative 'toml/loaders/toml'
  require_relative 'toml/uploaders/toml'
  require_relative 'toml/commands/load_from_toml'
  require_relative 'toml/commands/expose_toml'
  require_relative 'toml/data_set'
  require_relative 'toml/dsl'
end