Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

Gem::Util.glob_files_in_dir

glob_files_in_dir(glob, base_path)

Globs for files matching pattern inside of directory, returning absolute paths to the matching files.

See also .correct_for_windows_path .gunzip .gzip also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1