End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Commands::SetupCommand#files_in
files_in(dir)
lib/rubygems/commands/setup_command.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/commands/setup_command.rb, line 466
def files_in(dir)
Dir.chdir dir do
Dir.glob(File.join("**", "*"), File::FNM_DOTMATCH).
select {|f| !File.directory?(f) }
end
end
No documentation available
See also
#execute
#generate_default_dirs
#default_dir
#generate_default_man_dir
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0