method

open_uri_or_path

v1_9_3_125 - Show latest stable - Class: Gem::RemoteFetcher
open_uri_or_path(uri, last_modified = nil, head = false, depth = 0)
public

Read the data from the (source based) URI, but if it is a file:// URI, read from the filesystem instead.