Logo

Programming-Idioms

History of Idiom 212 > diff from v5 to v6

Edit summary for version 6 by steenslag:
New Ruby implementation by user [steenslag]

Version 5

2019-10-22, 11:14:47

Version 6

2019-10-23, 12:51:37

Idiom #212 Check if folder exists

Set boolean b to true if path exists on the filesystem and is a directory; false otherwise.

Idiom #212 Check if folder exists

Set boolean b to true if path exists on the filesystem and is a directory; false otherwise.

Extra Keywords
test whether existence
Extra Keywords
test whether existence
Code
b = Dir.exist?( path )