Class: ActionView::Resolver
- Inherits:
-
Object
- Object
- ActionView::Resolver
- Defined in:
- lib/action_view/template/resolver.rb
Overview
Action View Resolver
Direct Known Subclasses
Defined Under Namespace
Instance Method Summary collapse
- #clear_cache ⇒ Object
-
#find_all(name, prefix = nil, partial = false, details = {}, key = nil, locals = []) ⇒ Object
Normalizes the arguments and passes it on to find_templates.
-
#initialize ⇒ Resolver
constructor
A new instance of Resolver.
Constructor Details
Instance Method Details
#clear_cache ⇒ Object
109 110 111 |
# File 'lib/action_view/template/resolver.rb', line 109 def clear_cache @cache.clear end |
#find_all(name, prefix = nil, partial = false, details = {}, key = nil, locals = []) ⇒ Object
Normalizes the arguments and passes it on to find_templates.
114 115 116 117 118 |
# File 'lib/action_view/template/resolver.rb', line 114 def find_all(name, prefix=nil, partial=false, details={}, key=nil, locals=[]) cached(key, [name, prefix, partial], details, locals) do find_templates(name, prefix, partial, details) end end |