How can I return a list of only the files, not directories, in a specified directory?
I have my_list = Dir.glob(script_path.join(\"*\"))
my_list = Dir.glob(script_path.join(\"*\"))
This re
Dir.glob('*').select { |fn| File.file?(fn) }