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