Method: ActionView::FileSystemResolver#initialize
- Defined in:
- actionview/lib/action_view/template/resolver.rb
#initialize(path) ⇒ FileSystemResolver
Returns a new instance of FileSystemResolver.
93 94 95 96 97 98 99 |
# File 'actionview/lib/action_view/template/resolver.rb', line 93 def initialize(path) raise ArgumentError, "path already is a Resolver class" if path.is_a?(Resolver) @unbound_templates = Concurrent::Map.new @path_parser = PathParser.new @path = File.(path) super() end |