Class: Twig::Cache::Base
- Inherits:
-
Object
- Object
- Twig::Cache::Base
- Defined in:
- lib/twig/cache/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #generate_key(name, class_name) ⇒ Object
- #load(key) ⇒ Boolean
- #timestamp(key) ⇒ Integer
- #write(key, content) ⇒ Object
Instance Method Details
#generate_key(name, class_name) ⇒ Object
8 9 10 |
# File 'lib/twig/cache/base.rb', line 8 def generate_key(name, class_name) raise NotImplementedError end |
#load(key) ⇒ Boolean
20 21 22 |
# File 'lib/twig/cache/base.rb', line 20 def load(key) raise NotImplementedError end |
#timestamp(key) ⇒ Integer
26 27 28 |
# File 'lib/twig/cache/base.rb', line 26 def (key) raise NotImplementedError end |
#write(key, content) ⇒ Object
14 15 16 |
# File 'lib/twig/cache/base.rb', line 14 def write(key, content) raise NotImplementedError end |