Flowdock
method

fetch_path

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: FakeFetcher
fetch_path(path, mtime = nil) 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 46
  def fetch_path path, mtime = nil
    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.