Flowdock
method

correct_for_windows_path

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: RemoteFetcher
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 362
  def correct_for_windows_path(path)
    if path[0].chr == '/' && path[1].chr =~ /[a-z]/ && path[2].chr == ':'
      path = path[1..-1]
    else
      path
    end
  end
Register or log in to add new notes.