Sha256: 265463e294702bce18f7f7c4825fc56e83ff864284b8c7921264b58cad5b8b1b
Contents?: true
Size: 267 Bytes
Versions: 9
Compression:
Stored size: 267 Bytes
Contents
require 'confuse' # 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
9 entries across 9 versions & 1 rubygems