Class: Twig::Loader::Base
- Inherits:
-
Object
- Object
- Twig::Loader::Base
- Defined in:
- lib/twig/loader/base.rb
Direct Known Subclasses
Instance Method Summary collapse
- #exists?(name) ⇒ Boolean
- #fresh?(name, time) ⇒ Boolean
- #get_cache_key(name) ⇒ String
- #get_source_context(name) ⇒ Twig::Source
Instance Method Details
#exists?(name) ⇒ Boolean
27 28 29 |
# File 'lib/twig/loader/base.rb', line 27 def exists?(name) raise 'exists? not implemented' end |
#fresh?(name, time) ⇒ Boolean
21 22 23 |
# File 'lib/twig/loader/base.rb', line 21 def fresh?(name, time) raise 'fresh? not implemented' end |
#get_cache_key(name) ⇒ String
14 15 16 |
# File 'lib/twig/loader/base.rb', line 14 def get_cache_key(name) raise 'get_cache_key not implemented' end |
#get_source_context(name) ⇒ Twig::Source
8 9 10 |
# File 'lib/twig/loader/base.rb', line 8 def get_source_context(name) raise 'get_source_context not implemented' end |