method
find_active
v1_9_3_392 -
Show latest stable
- Class:
Gem::GemPathSearcher
find_active(glob)public
No documentation available.
# File lib/rubygems/gem_path_searcher.rb, line 65
def find_active(glob)
# HACK violation of encapsulation
@gemspecs.find do |spec|
# TODO: inverted responsibility
spec.loaded? and matching_file? spec, glob
end
end