Module: ShadyDB
- Defined in:
- lib/shadydb/finders.rb,
lib/shadydb/document.rb,
lib/shadydb/attributes.rb,
lib/shadydb/persistence.rb,
lib/shadydb/configuration.rb,
lib/shadydb/extensions/string/helpers.rb
Defined Under Namespace
Modules: Attributes, Extensions, Finders, Persistence Classes: Configuration, Document
Class Attribute Summary collapse
-
.configuration ⇒ Object
Configure ShadyDB someplace sensible, like config/initializers/shadydb.rb.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Configure ShadyDB someplace sensible, like config/initializers/shadydb.rb
24 25 26 |
# File 'lib/shadydb/configuration.rb', line 24 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
29 30 31 32 |
# File 'lib/shadydb/configuration.rb', line 29 def self.configure self.configuration yield(configuration) end |