method
new
v7.0.0 -
Show latest stable
- Class:
ActionView::FileSystemResolver
new(path)public
No documentation available.
# File actionview/lib/action_view/template/resolver.rb, line 90
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.expand_path(path)
super()
end