初yield記念カキコ

class Cmd
def self.dir(*args)
IO.popen('dir /b '+args.join(" ")).each{|f| yield f.chop }
end
end