method

find_spec_for_file

ruby latest stable - Class: Gem::GemPathSearcher

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.

find_spec_for_file(file)
public

Looks through the available gemspecs and finds the first one that contains file as a requirable file.