Logo

Programming-Idioms

History of Idiom 180 > diff from v4 to v5

Edit summary for version 5 by steenslag:
[Ruby] mistake

Version 4

2019-01-11, 17:05:32

Version 5

2019-01-11, 17:06:25

Idiom #180 List files in directory

Create list x containing the contents of directory d.

x may contain files and subfolders.
No recursive subfolder listing.

Idiom #180 List files in directory

Create list x containing the contents of directory d.

x may contain files and subfolders.
No recursive subfolder listing.

Extra Keywords
folder ls dir listing
Extra Keywords
folder ls dir listing
Code
x = Dir(d).children
Code
x = Dir.children(d)
Comments bubble
_. and _.. not included
Comments bubble
_. and _.. not included