method

find_active_stub_by_path

Importance_0
Ruby latest stable (v2_5_5) - 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 1082
  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.