Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Gem::Specification.find_in_unresolved
find_in_unresolved(path)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/specification.rb, line 1026
def self.find_in_unresolved(path)
unresolved_specs.find_all {|spec| spec.contains_requirable_file? path }
end
Return currently unresolved specs that contain the file matching path.
See also
.find_inactive_by_path
.find_in_unresolved_tree
.find_by_path
.find_unloaded_by_path
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0