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