28 29 30 31 32 33 34
# File 'lib/edango/di/helpers.rb', line 28 def self.prepare_directory(path) path = File.expand_path(path) Dir.mkdir(path) unless File.directory?(path) rescue nil path end