Top Level Namespace

Defined Under Namespace

Modules: Smokegraphy

Constant Summary collapse

SMOKEGRAPHY_LIBDIR =
Pathname.new("#{__FILE__}/..").realpath.dirname

Instance Method Summary collapse

Instance Method Details

#prepare_dir(dir) ⇒ Object



13
14
15
# File 'bin/smokegraphy', line 13

def prepare_dir(dir)
  FileUtils.mkdir(dir, :verbose => true) if !File.exist? dir
end