instance method
inspect
Ruby on Rails 3.0.20
Since v3.0.20Signature
inspect()
No documentation comment.
Source
# File actionpack/lib/action_view/template.rb, line 158
def inspect
@inspect ||=
if defined?(Rails.root)
identifier.sub("#{Rails.root}/", '')
else
identifier
end
end
Defined in actionpack/lib/action_view/template.rb line 158
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Template