Method: Vedeu::Config::API#configuration
- Defined in:
- lib/vedeu/configuration/api.rb
#configuration ⇒ Hash<Symbol => Boolean, Fixnum, String>
Returns the configuration options set up by the API DSL.
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/vedeu/configuration/api.rb', line 90 def configuration if [:log].nil? || [:log] == false || empty_value?([:log]) Vedeu.log(type: :config, message: 'Logging has been disabled.') return end if [:log] != default[:log] Vedeu.log(message: "Switching to '#{[:log]}' for logging.\n") end end |