Module: Chimera
- Defined in:
- lib/chimera.rb,
lib/chimera/base.rb,
lib/chimera/error.rb,
lib/chimera/config.rb,
lib/chimera/finders.rb,
lib/chimera/indexes.rb,
lib/chimera/attributes.rb,
lib/chimera/geo_indexes.rb,
lib/chimera/persistence.rb,
lib/chimera/associations.rb,
lib/chimera/redis_objects.rb
Defined Under Namespace
Modules: AssociationProxies, Associations, Attributes, Config, Finders, GeoIndexes, Indexes, Persistence, RedisObjectProxy, RedisObjects
Classes: Base, Error
Constant Summary
collapse
- VERSION =
'0.0.4'
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
7
8
9
|
# File 'lib/chimera/base.rb', line 7
def self.config
@config || raise(Chimera::Error::MissingConfig)
end
|
.config_path=(path) ⇒ Object
2
3
4
5
|
# File 'lib/chimera/base.rb', line 2
def self.config_path=(path)
@config_path = path
@config = YAML.load_file(@config_path)
end
|