Class: ZtreningM::ConfDir

Inherits:
Object
  • Object
show all
Defined in:
lib/ztrening.rb

Class Method Summary collapse

Class Method Details

.create_if_neObject



96
97
98
99
100
# File 'lib/ztrening.rb', line 96

def self.create_if_ne
  if !File.directory? File.expand_path CONFDIR
    FileUtils.mkdir File.expand_path CONFDIR
  end
end