Module: Vedeu::Config
- Extended by:
- Config
- Included in:
- Config
- Defined in:
- lib/vedeu/configuration/configuration.rb,
lib/vedeu/configuration/api.rb,
lib/vedeu/configuration/cli.rb
Overview
Namespace for the API configuration and CLI configuration classes.
Defined Under Namespace
Class Method Summary collapse
-
.log(from, options) ⇒ Hash
Custom log for configuration.
Instance Method Summary collapse
-
#log(from, options) ⇒ Hash
Custom log for configuration.
Class Method Details
.log(from, options) ⇒ Hash
Custom log for configuration.
19 20 21 22 23 24 |
# File 'lib/vedeu/configuration/configuration.rb', line 19 def log(from, ) .each do |option, value| Vedeu.log(type: :config, message: "#{from} #{option.to_s}: #{value.to_s}") end end |
Instance Method Details
#log(from, options) ⇒ Hash
Custom log for configuration.
19 20 21 22 23 24 |
# File 'lib/vedeu/configuration/configuration.rb', line 19 def log(from, ) .each do |option, value| Vedeu.log(type: :config, message: "#{from} #{option.to_s}: #{value.to_s}") end end |