Module: Granite::Routing::Caching

Defined in:
lib/granite/routing/caching.rb

Instance Method Summary collapse

Instance Method Details

#clear_cache!Object



10
11
12
13
# File 'lib/granite/routing/caching.rb', line 10

def clear_cache!
  @granite_cache = nil
  super
end

#granite_cacheObject



6
7
8
# File 'lib/granite/routing/caching.rb', line 6

def granite_cache
  @granite_cache ||= Cache.new(self)
end