Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
glob_files_in_dir(glob, base_path)
public
Globs for files matching pattern inside of directory,
returning absolute paths to the matching files.
# File lib/rubygems/util.rb, line 123
def self.glob_files_in_dir(glob, base_path)
if RUBY_VERSION >= "2.5"
Dir.glob(glob, base: base_path).map! {|f| File.expand_path(f, base_path) }
else
Dir.glob(File.expand_path(glob, base_path))
end
end