Sha256: bf46781cfab2f9262ee9e0fc12301e98b96dcc53eb97494d3d5c584b33c9b52c

Contents?: true

Size: 617 Bytes

Versions: 22

Compression:

Stored size: 617 Bytes

Contents

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}".freeze)
      end
    end

  end

end # Vedeu

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
vedeu-0.8.0 lib/vedeu/configuration/all.rb
vedeu-0.7.4 lib/vedeu/configuration/all.rb
vedeu-0.7.3 lib/vedeu/configuration/all.rb
vedeu-0.7.2 lib/vedeu/configuration/all.rb
vedeu-0.7.1 lib/vedeu/configuration/all.rb
vedeu-0.7.0 lib/vedeu/configuration/all.rb
vedeu-0.6.71 lib/vedeu/configuration/all.rb
vedeu-0.6.70 lib/vedeu/configuration/all.rb
vedeu-0.6.69 lib/vedeu/configuration/all.rb
vedeu-0.6.68 lib/vedeu/configuration/all.rb
vedeu-0.6.67 lib/vedeu/configuration/all.rb
vedeu-0.6.66 lib/vedeu/configuration/all.rb
vedeu-0.6.65 lib/vedeu/configuration/all.rb
vedeu-0.6.64 lib/vedeu/configuration/all.rb
vedeu-0.6.63 lib/vedeu/configuration/all.rb
vedeu-0.6.62 lib/vedeu/configuration/all.rb
vedeu-0.6.61 lib/vedeu/configuration/all.rb
vedeu-0.6.60 lib/vedeu/configuration/all.rb
vedeu-0.6.59 lib/vedeu/configuration/all.rb
vedeu-0.6.58 lib/vedeu/configuration/all.rb