Sha256: 9dc1beb73e3cb72f2e20b288224673ff940d61ae045c346e4cc4a04c479dc32b
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
require 'confuse/config_mixin' require 'confuse/dsl' module Confuse # The default module used for configuration. module Config extend ConfigMixin end # Super class for configuration in order to have multiple instances. class ConfigBase include ConfigMixin extend DSL def initialize load_namespaces(self.class.namespaces) read_files(self.class.config_path) end def config self end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
confuse-0.1.0 | lib/confuse/config.rb |
confuse-0.0.1 | lib/confuse/config.rb |