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