method

inside_path?

rails latest stable - Class: ActionView::PathResolver

Method deprecated or moved

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

inside_path?(path, filename)
private

No documentation available.

# File actionview/lib/action_view/template/resolver.rb, line 275
      def inside_path?(path, filename)
        filename = File.expand_path(filename)
        path = File.join(path, "")
        filename.start_with?(path)
      end