method

open_uri_or_path

ruby latest stable - Class: Gem::RemoteFetcher

Method deprecated or moved

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

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.