public Method

TemplateError.file_name

There's no documentation for this item.

Source Code

# File action_view/template_error.rb, line 65
def file_name
  stripped = strip_base_path(@file_path)
  stripped.slice!(0,1) if stripped[0] == ?/
  stripped
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.