Sha256: d8f49ddfe142e724cbbb2f0c9142a17beb6f4f42cdb8cc2eae2d402074721234

Contents?: true

Size: 650 Bytes

Versions: 13

Compression:

Stored size: 650 Bytes

Contents

# frozen_string_literal: true

module Vedeu

  # Namespace for configuration classes.
  #
  module Config

    module_function

    # Custom log for configuration.
    #
    # @param from [String] Which configuration set the options.
    # @param options [Hash<Symbol => void>] The configuration options set.
    # @return [Hash<Symbol => void>] The options param.
    def log(from, options)
      options.each do |option, value|
        Vedeu.log(type:    :config,
                  message: "#{from} #{option}: #{value}")
      end
    end

  end # Config

end # Vedeu

require 'vedeu/configuration/api'
require 'vedeu/configuration/configuration'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vedeu-0.8.14 lib/vedeu/configuration/all.rb
vedeu-0.8.13 lib/vedeu/configuration/all.rb
vedeu-0.8.12 lib/vedeu/configuration/all.rb
vedeu-0.8.10 lib/vedeu/configuration/all.rb
vedeu-0.8.9 lib/vedeu/configuration/all.rb
vedeu-0.8.8 lib/vedeu/configuration/all.rb
vedeu-0.8.7 lib/vedeu/configuration/all.rb
vedeu-0.8.6 lib/vedeu/configuration/all.rb
vedeu-0.8.5 lib/vedeu/configuration/all.rb
vedeu-0.8.4 lib/vedeu/configuration/all.rb
vedeu-0.8.3 lib/vedeu/configuration/all.rb
vedeu-0.8.2 lib/vedeu/configuration/all.rb
vedeu-0.8.1 lib/vedeu/configuration/all.rb