2010-05-17から1日間の記事一覧

FileUtils#.mkpath と Pathname#mkpath の挙動

$ irb > require 'pathname' => true > Pathname.new('~/tmp').expand_path.mkpath => nil mkpathFileUtils.mkpath(self.to_s) と同じです。 [SEE_ALSO] FileUtils.#mkpath class Pathname [RETURN]list を返します。 module function FileU…