Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::BasicSpecification#matches_for_glob
matches_for_glob(glob)
lib/rubygems/basic_specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/basic_specification.rb, line 307
def matches_for_glob(glob) # TODO: rename?
glob = File.join(lib_dirs_glob, glob)
Dir[glob]
end
Return all files in this gem that match for glob.