module Safrano::CoreExt::Dir::Iter
Public Instance Methods
each_child(dir) { |x| ... }
click to toggle source
# File lib/core_ext/Dir/iter.rb, line 8 def each_child(dir) ::Dir.foreach(dir) do |x| next if (x == '.') || (x == '..') yield x end end