Class: ActionView::FileSystemResolver
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Resolver
|
|
Instance Chain:
|
|
Inherits: |
ActionView::Resolver
|
Defined in: | actionview/lib/action_view/template/resolver.rb |
Overview
A resolver that loads files from the filesystem.
Class Attribute Summary
Resolver
- Inherited
.caching? | Alias for Resolver.caching. |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
-
#==(resolver)
Alias for #eql?.
- #clear_cache
- #eql?(resolver) ⇒ Boolean (also: #==)
-
#to_path
Alias for #to_s.
- #to_s (also: #to_path)
Resolver
- Inherited
#caching?, #clear_cache, | |
#find_all | Normalizes the arguments and passes it on to find_templates. |
Constructor Details
.new(path) ⇒ FileSystemResolver
Instance Attribute Details
#path (readonly)
[ GitHub ]# File 'actionview/lib/action_view/template/resolver.rb', line 94
attr_reader :path
Instance Method Details
#==(resolver)
Alias for #eql?.
# File 'actionview/lib/action_view/template/resolver.rb', line 118
alias :== :eql?
#clear_cache
[ GitHub ]# File 'actionview/lib/action_view/template/resolver.rb', line 104
def clear_cache @unbound_templates.clear @path_parser = PathParser.new super end
#eql?(resolver) ⇒ Boolean
Also known as: #==
#to_path
Alias for #to_s.
# File 'actionview/lib/action_view/template/resolver.rb', line 113
alias :to_path :to_s
#to_s Also known as: #to_path
[ GitHub ]# File 'actionview/lib/action_view/template/resolver.rb', line 110
def to_s @path.to_s end