method

correct_for_windows_path

Importance_0
correct_for_windows_path(path) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/remote_fetcher.rb, line 320
  def correct_for_windows_path(path)
    if path[0].chr == '/' && path[1].chr =~ /[a-z]/ && path[2].chr == ':'
      path[1..-1]
    else
      path
    end
  end
Register or log in to add new notes.