module AtCoderFriends::PathUtil

Common methods and behaviors for dealing with paths.

Public Instance Methods

makedirs_unless(dir) click to toggle source
# File lib/at_coder_friends/path_util.rb, line 6
def makedirs_unless(dir)
  FileUtils.makedirs(dir) unless Dir.exist?(dir)
end