method
find_spec_for_file
ruby latest stable - Class:
Gem::GemPathSearcher
find_spec_for_file(file)public
Looks through the available gemspecs and finds the first one that contains file as a requirable file.
find_spec_for_file(file)Looks through the available gemspecs and finds the first one that contains file as a requirable file.