method
new
v6.0.0 -
Show latest stable
- Class:
ActionView::FileSystemResolver
new(path, pattern = nil)public
No documentation available.
# File actionview/lib/action_view/template/resolver.rb, line 302
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