method

find_active

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_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