I want to get all file names from a folder using Ruby.
The following snippets exactly shows the name of the files inside a directory, skipping subdirectories and ".", ".." dotted folders:
"."
".."
Dir.entries("your/folder").select { |f| File.file? File.join("your/folder", f) }