class method
Gem::Util.glob_files_in_dir
glob_files_in_dir(glob, base_path)
lib/rubygems/util.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/util.rb, line 81
def self.glob_files_in_dir(glob, base_path)
Dir.glob(glob, base: base_path).map! {|f| File.expand_path(f, base_path) }
end
Globs for files matching pattern inside of directory, returning absolute paths to the matching files.