static public Method

TemplateFinder.new(*args)

There's no documentation for this item.

Source Code

# File action_view/template_finder.rb, line 70
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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.