Dir.reject « File Directory « Ruby






1.Get all contents other than ".", "..", and hidden files.
2.Get the names of all files in the directory.