private Method

TemplateError.source_location

There's no documentation for this item.

Source Code

# File action_view/template_error.rb, line 96
def source_location
  if line_number
    "on line ##{line_number} of "
  else
    'in '
  end + file_name
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.