Class: Rudy::Config::Defaults
- Inherits:
-
Caesars
- Object
- Caesars
- Rudy::Config::Defaults
- Includes:
- Gibbler::Complex
- Defined in:
- lib/rudy/config/objects.rb
Overview
Default configuration. All of the defaults can be overridden on the command line with global options.
Defined Under Namespace
Classes: DoubleDefined
Instance Method Summary collapse
-
#postprocess ⇒ Object
All values should scalars.
Instance Method Details
#postprocess ⇒ Object
All values should scalars
31 32 33 34 35 36 37 |
# File 'lib/rudy/config/objects.rb', line 31 def postprocess self.keys.each do |k| next unless self[k].is_a?(Array) raise Defaults::DoubleDefined.new(:defaults, k) end self.keydir &&= File.(self.keydir) end |