class method
self.new
Ruby on Rails 6.1.7.10
Since v3.0.20Signature
self.new(path)
No documentation comment.
Parameters
-
pathreq
Source
# File actionview/lib/action_view/template/resolver.rb, line 325
def initialize(path)
raise ArgumentError, "path already is a Resolver class" if path.is_a?(Resolver)
super()
@path = File.expand_path(path)
end
Defined in actionview/lib/action_view/template/resolver.rb line 325
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::FileSystemResolver