Class: KnapsackPro::Config::TempFiles
- Inherits:
-
Object
- Object
- KnapsackPro::Config::TempFiles
- Defined in:
- lib/knapsack_pro/config/temp_files.rb
Constant Summary collapse
- TEMP_DIRECTORY_PATH =
relative to the directory where you run knapsack_pro gem (user’s project)
'.knapsack_pro'
Class Method Summary collapse
Class Method Details
.ensure_temp_directory_exists! ⇒ Object
7 8 9 10 11 12 |
# File 'lib/knapsack_pro/config/temp_files.rb', line 7 def self.ensure_temp_directory_exists! unless File.exist?(gitignore_file_path) create_temp_directory! create_gitignore_file! end end |