Preview Ruby 4.1 is a preview. It can change before the final release. 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-4.1.0-preview1/lib/rubygems/basic_specification.rb, line 309
def matches_for_glob(glob) # TODO: rename?
Gem::Util.glob_files_in_dir(File.join(lib_dirs, glob), full_gem_path)
end
Return all files in this gem that match for glob.