lib/pt_search.rb
#-----------------------------------------------------
#To be ported to a separate 'common' module
#Confirm a directory exists, creating it if necessary.
To be ported to a separate 'common' module
Confirm a directory exists, creating it if necessary.
To be ported to a separate ' common ' module Confirm a directory exists creating it if necessary .
def checkDirectory(directory)
        if not File.directory?(directory) then
            FileUtils.mkpath(directory) 
        end
        directory
    end
def checkDirectory ( directory ) if not File . directory? ( directory ) then FileUtils . mkpath ( directory ) end directory end
To be ported to a separate 'common' module
Confirm a directory exists, creating it if necessary.
To be ported to a separate ' common ' module Confirm a directory exists creating it if necessary .
#Make sure directory exists, making it if needed. #logging and user notification.
directory
<not_specific>