Class: Dir
Instance Method Summary collapse
-
#each_child ⇒ Object
Much like each(), except the “.” and “..” special files are ignored.
Instance Method Details
#each_child ⇒ Object
Much like each(), except the “.” and “..” special files are ignored.
12 13 14 15 16 |
# File 'lib/qualitysmith_extensions/dir/each_child.rb', line 12 def each_child each do |file| yield file if file != "." and file != ".." end end |