Object
# File lib/action_view/template/resolver.rb, line 39 39: def clear_cache 40: @cached.clear 41: end
Normalizes the arguments and passes it on to find_template.
# File lib/action_view/template/resolver.rb, line 44 44: def find_all(name, prefix=nil, partial=false, details={}, key=nil, locals=[]) 45: cached(key, [name, prefix, partial], details, locals) do 46: find_templates(name, prefix, partial, details) 47: end 48: end
Helpers that builds a path. Useful for building virtual paths.
# File lib/action_view/template/resolver.rb, line 62 62: def build_path(name, prefix, partial) 63: Path.build(name, prefix, partial) 64: end
This is what child classes implement. No defaults are needed because Resolver guarantees that the arguments are present and normalized.
# File lib/action_view/template/resolver.rb, line 57 57: def find_templates(name, prefix, partial, details) 58: raise NotImplementedError, "Subclasses must implement a find_templates(name, prefix, partial, details) method" 59: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.