Module: Moneta::Config
- Included in:
- Adapter, Adapters::DataMapper, Adapters::File, Proxy, Server
- Defined in:
- lib/moneta/config.rb
Overview
Some docs here
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
63 64 65 |
# File 'lib/moneta/config.rb', line 63 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#config ⇒ Object
58 59 60 61 |
# File 'lib/moneta/config.rb', line 58 def config raise "Not configured" unless defined?(@config) @config end |