Class: SolrMakr::Commands::CreateCore Private
- Inherits:
-
Object
- Object
- SolrMakr::Commands::CreateCore
- Includes:
- Shared
- Defined in:
- lib/solr_makr/commands/create_core.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes included from Shared
#args, #core, #options, #solr_config
Instance Method Summary collapse
- #run ⇒ Object private
Methods included from Shared
Instance Method Details
#run ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/solr_makr/commands/create_core.rb', line 8 def run "initializing configuration" do core.initialize_configuration! end "registering new core with solr" do core.register_with_solr! end say "Created core: #{core_name}" end |