Class: ActionView::PathResolver
- Defined in:
- lib/action_view/template/resolver.rb
Overview
An abstract class that implements a Resolver with path semantics.
Direct Known Subclasses
Constant Summary collapse
- EXTENSIONS =
:nodoc:
{ :locale => ".", :formats => ".", :variants => "+", :handlers => "." }
- DEFAULT_PATTERN =
":prefix/:action{.:locale,}{.:formats,}{+:variants,}{.:handlers,}"
Instance Method Summary collapse
-
#initialize(pattern = nil) ⇒ PathResolver
constructor
A new instance of PathResolver.
Methods inherited from Resolver
Constructor Details
#initialize(pattern = nil) ⇒ PathResolver
Returns a new instance of PathResolver.
170 171 172 173 |
# File 'lib/action_view/template/resolver.rb', line 170 def initialize(pattern=nil) @pattern = pattern || DEFAULT_PATTERN super() end |