I want to get all file names from a folder using Ruby.
this code returns only filenames with their extension (without a global path)
Dir.children("/path/to/search/")