method

find_active_stub_by_path

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: Specification
find_active_stub_by_path(path) public

No documentation

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

Hide source
# File lib/rubygems/specification.rb, line 1061
  def self.find_active_stub_by_path(path)
    stub = @@active_stub_with_requirable_file[path] ||= (stubs.find { |s|
      s.activated? and s.contains_requirable_file? path
    } || NOT_FOUND)
    stub.this
  end
Register or log in to add new notes.