class method
self.new
Ruby on Rails 7.0.10
Since v3.0.20Signature
self.new(path)
No documentation comment.
Parameters
-
pathreq
Source
# File actionview/lib/action_view/template/resolver.rb, line 92
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
Defined in actionview/lib/action_view/template/resolver.rb line 92
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::FileSystemResolver