Dir.entries( dirname ) â array
Class Public methods
Returns an array containing all of the filenames in the given directory.
Will raise a SystemCallError
if the named directory
doesn't exist.
1 | Dir .entries( "testdir" ) #=> [".", "..", "config.h", "main.rb"] |
Please login to continue.