Flowdock
method

fetch_path

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: FakeFetcher
fetch_path(path, mtime = nil, head = false) public

No documentation

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

Hide source
# File lib/rubygems/test_utilities.rb, line 60
  def fetch_path path, mtime = nil, head = false
    data = find_data(path)

    if data.respond_to?(:call) then
      data.call
    else
      if path.to_s =~ /gz$/ and not data.nil? and not data.empty? then
        data = Gem.gunzip data
      end

      data
    end
  end
Register or log in to add new notes.