Sha256: d22634d74c60bce3a553083f2982091c644a40054793200233827faacf487b0d

Contents?: true

Size: 857 Bytes

Versions: 10

Compression:

Stored size: 857 Bytes

Contents

# frozen_string_literal: true

# @api private
# @since 0.12.0
class Qonfig::Plugins::TOML < Qonfig::Plugins::Abstract
  class << self
    # @return [void]
    #
    # @api private
    # @since 0.19.0
    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
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
qonfig-0.28.0 lib/qonfig/plugins/toml.rb
qonfig-0.27.0 lib/qonfig/plugins/toml.rb
qonfig-0.26.0 lib/qonfig/plugins/toml.rb
qonfig-0.25.0 lib/qonfig/plugins/toml.rb
qonfig-0.24.1 lib/qonfig/plugins/toml.rb
qonfig-0.24.0 lib/qonfig/plugins/toml.rb
qonfig-0.23.0 lib/qonfig/plugins/toml.rb
qonfig-0.22.0 lib/qonfig/plugins/toml.rb
qonfig-0.21.0 lib/qonfig/plugins/toml.rb
qonfig-0.20.0 lib/qonfig/plugins/toml.rb