Class: PagesSphinx::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- PagesSphinx::Generators::InstallGenerator
- Defined in:
- lib/rails/generators/pages_sphinx/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_sphinx_config ⇒ Object
13 14 15 |
# File 'lib/rails/generators/pages_sphinx/install/install_generator.rb', line 13 def create_sphinx_config template "thinking_sphinx.yml", File.join("config/thinking_sphinx.yml") end |
#read_configuration! ⇒ Object
9 10 11 |
# File 'lib/rails/generators/pages_sphinx/install/install_generator.rb', line 9 def read_configuration! @sphinx_port ||= ask_with_fallback("Sphinx port?", "3312") end |