method

relative_path

ruby latest stable - Class: Bundler::Source::Path

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

relative_path(path = self.path)
private

No documentation available.

# File lib/bundler/source/path.rb, line 204
      def relative_path(path = self.path)
        if path.to_s.start_with?(root_path.to_s)
          return path.relative_path_from(root_path)
        end
        path
      end