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