Class: Sunspot::Solr::Installer
- Inherits:
-
Object
- Object
- Sunspot::Solr::Installer
- Defined in:
- sunspot_solr/lib/sunspot/solr/installer.rb,
sunspot_solr/lib/sunspot/solr/installer/task_helper.rb,
sunspot_solr/lib/sunspot/solr/installer/config_installer.rb
Defined Under Namespace
Modules: TaskHelper Classes: ConfigInstaller
Class Method Summary (collapse)
Instance Method Summary (collapse)
- - (Object) execute
-
- (Installer) initialize(solr_home, options)
constructor
A new instance of Installer.
Constructor Details
- (Installer) initialize(solr_home, options)
A new instance of Installer
16 17 18 |
# File 'sunspot_solr/lib/sunspot/solr/installer.rb', line 16 def initialize(solr_home, ) @solr_home, @options = solr_home, end |
Class Method Details
+ (Object) execute(solr_home, options = {})
9 10 11 |
# File 'sunspot_solr/lib/sunspot/solr/installer.rb', line 9 def execute(solr_home, = {}) new(solr_home, ).execute end |
Instance Method Details
- (Object) execute
20 21 22 |
# File 'sunspot_solr/lib/sunspot/solr/installer.rb', line 20 def execute ConfigInstaller.execute(File.join(@solr_home, 'conf'), @options) end |