method

new

rails latest stable - Class: ActionView::TemplateFinder

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

new(*args)
public

No documentation available.

# File actionpack/lib/action_view/template_finder.rb, line 74
    def initialize(*args)
      @template = args.shift

      @view_paths = args.flatten
      @view_paths = @view_paths.respond_to?(:find) ? @view_paths.dup : [*@view_paths].compact
      check_view_paths(@view_paths)
    end