Class: ActionView::PathResolver

Inherits:
Resolver show all
Defined in:
actionpack/lib/action_view/template/resolver.rb

Overview

An abstract class that implements a Resolver with path semantics.

Constant Summary

EXTENSIONS =

:nodoc:

[:locale, :formats, :handlers]
DEFAULT_PATTERN =
":prefix/:action{.:locale,}{.:formats,}{.:handlers,}"

Instance Method Summary collapse

Methods inherited from Resolver

#clear_cache, #find_all, #sort_locals

Constructor Details

#initialize(pattern = nil) ⇒ PathResolver



119
120
121
122
# File 'actionpack/lib/action_view/template/resolver.rb', line 119

def initialize(pattern=nil)
  @pattern = pattern || DEFAULT_PATTERN
  super()
end