Module: Foobara::CachedCommand

Defined in:
lib/foobara/cached_command.rb

Class Method Summary collapse

Class Method Details

.reset_allObject



9
10
11
12
13
14
# File 'lib/foobara/cached_command.rb', line 9

def reset_all
  Foobara.raise_if_production!("reset_all")

  FileUtils.rm_rf "tmp/cached_command/"
  Foobara::CachedCommand.cache.clear
end