method

find_active

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: GemPathSearcher
find_active(glob) public

No documentation

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

Hide source
# 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
Register or log in to add new notes.