Sha256: 1140bdd1fe2690fccfbb3774227bd09a0c3ef7cf6226eea1f21e9a860e76f859
Contents?: true
Size: 273 Bytes
Versions: 1
Compression:
Stored size: 273 Bytes
Contents
require 'configuration' # Monkey patch class to easily allow a class to be configurable. class Class def configurable extend Confuse::DSL include Confuse::InstanceMethods end def configured_by(config) configurable @configured_by = config end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
confuse-0.0.1 | lib/confuse/configurable.rb |