Module: Vedeu::Config
- Defined in:
- lib/vedeu/configuration/configuration.rb,
lib/vedeu/configuration/api.rb
Overview
Namespace for configuration classes.
Defined Under Namespace
Classes: API
Class Method Summary collapse
-
.log(from, options) ⇒ Hash
Custom log for configuration.
Instance Method Summary collapse
-
#log(from, options) ⇒ Hash
private
Custom log for configuration.
Class Method Details
.log(from, options) ⇒ Hash
Custom log for configuration.
14 15 16 17 18 19 |
# File 'lib/vedeu/configuration/configuration.rb', line 14 def log(from, ) .each do |option, value| Vedeu.log(type: :config, message: "#{from} #{option}: #{value}".freeze) end end |
Instance Method Details
#log(from, options) ⇒ Hash (private)
Custom log for configuration.
14 15 16 17 18 19 |
# File 'lib/vedeu/configuration/configuration.rb', line 14 def log(from, ) .each do |option, value| Vedeu.log(type: :config, message: "#{from} #{option}: #{value}".freeze) end end |