Class: ThinkingSphinx::Commands::Prepare

Inherits:
Base
  • Object
show all
Defined in:
lib/thinking_sphinx/commands/prepare.rb

Instance Method Summary collapse

Methods inherited from Base

call, #call_with_handling

Methods included from WithOutput

#initialize

Instance Method Details

#callObject



4
5
6
7
8
# File 'lib/thinking_sphinx/commands/prepare.rb', line 4

def call
  return if skip_directories?

  FileUtils.mkdir_p configuration.indices_location
end