method

to_s

rails latest stable - Class: ActionView::Template::Path

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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