method
to_s
v2.3.8 -
Show latest stable
- Class:
ActionView::Template::Path
to_s()public
No documentation available.
# File actionpack/lib/action_view/template.rb, line 12
def to_s
if defined?(RAILS_ROOT)
path.to_s.sub(/^#{Regexp.escape(File.expand_path(RAILS_ROOT))}\//, '')
else
path.to_s
end
end