Module: TinyCache

Defined in:
lib/tiny_cache.rb,
lib/tiny_cache/config.rb,
lib/tiny_cache/version.rb,
lib/tiny_cache/arel/wheres.rb,
lib/tiny_cache/active_record/base.rb,
lib/tiny_cache/active_record/persistence.rb,
lib/tiny_cache/active_record/finder_methods.rb,
lib/tiny_cache/active_record/fetch_by_uniq_key.rb,
lib/tiny_cache/active_record/has_one_association.rb,
lib/tiny_cache/active_record/belongs_to_association.rb

Defined Under Namespace

Modules: ActiveRecord, Arel, Config

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.configureObject



7
8
9
# File 'lib/tiny_cache.rb', line 7

def self.configure
  block_given? ? yield(Config) : Config
end