Class: DeltaTest::CLI::StatsCleanCommand
- Inherits:
-
CommandBase
- Object
- CommandBase
- DeltaTest::CLI::StatsCleanCommand
- Defined in:
- lib/delta_test/cli/stats_clean_command.rb
Constant Summary
Constants inherited from CommandBase
Instance Method Summary collapse
Methods inherited from CommandBase
#bundler_enabled?, #exec_with_data, #exit_with_message, #initialize, #invoke, #parse_options!
Constructor Details
This class inherits a constructor from DeltaTest::CLI::CommandBase
Instance Method Details
#cleanup_tmp_table_files ⇒ Object
13 14 15 16 |
# File 'lib/delta_test/cli/stats_clean_command.rb', line 13 def cleanup_tmp_table_files tmp_dir = DeltaTest.config.tmp_table_file.parent FileUtils.rm_rf(tmp_dir) if File.directory?(tmp_dir) end |
#invoke! ⇒ Object
9 10 11 |
# File 'lib/delta_test/cli/stats_clean_command.rb', line 9 def invoke! cleanup_tmp_table_files end |