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

Methods inherited from Abstract

inherited, load!, loaded?

Class Method Details

.install!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.19.0



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

def install!
  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/errors'
  require_relative 'toml/loaders'
  require_relative 'toml/loaders/toml'
  require_relative 'toml/loaders/dynamic'
  require_relative 'toml/uploaders/toml'
  require_relative 'toml/commands/definition/load_from_toml'
  require_relative 'toml/commands/definition/expose_toml'
  require_relative 'toml/data_set'
  require_relative 'toml/dsl'
end