class NPG::PGHandle

Public Class Methods

new(path) click to toggle source
# File lib/npg/project.rb, line 13
def initialize(path)
        @path = path
        unless FileTest.directory?(path)
                if FileTest.file?(path)
                        raise Errno::EEXIST, path
                end
                Dir.mkdir path
        end
end