Class

ActionView::Template::Path

Inheritance
< Object

Attributes

Name Visibility R/W Description
path public R
paths public R

Methods

Class

Visibility Signature
public new (path)
public new_and_loaded (path)

Instance

Visibility Signature
public == (path)
public [] (path)
public eql? (path)
public load! ()
public to_s ()
public to_str ()

Class Method Detail

new(path)

new_and_loaded(path)

Instance Method Detail

==(path)

[](path)

Returns a ActionView::Template object for the given path string. The input path should be relative to the view path directory, +hello/index.html.erb+. This method also has a special exception to match partial file names without a handler extension. So +hello/index.html+ will match the first template it finds with a known template extension, +hello/index.html.erb+. Template extensions should not be confused with format extensions html, js, xml, etc. A format must be supplied to match a formated file. +hello/index+ will never match +hello/index.html.erb+.

eql?(path)

load!()

to_s()

to_str()