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(\"*\"))
This re
It sounds like you're looking for Dir.entries:
Returns an array containing all of the filenames in the given directory. Will raise a SystemCallError if the named directory doesn’t exist.
If searching Google for how to solve this problem isn't turning up any results, you can look through the Ruby documentation.