Class: ElasticGraph::Admin::RakeTasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- ElasticGraph::Admin::RakeTasks
- Defined in:
- lib/elastic_graph/admin/rake_tasks.rb
Instance Attribute Summary collapse
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#prototype_index_names ⇒ Object
readonly
Returns the value of attribute prototype_index_names.
Instance Method Summary collapse
-
#initialize(prototype_index_names: [], output: $stdout, &load_admin) ⇒ RakeTasks
constructor
A new instance of RakeTasks.
Constructor Details
#initialize(prototype_index_names: [], output: $stdout, &load_admin) ⇒ RakeTasks
20 21 22 23 24 25 26 |
# File 'lib/elastic_graph/admin/rake_tasks.rb', line 20 def initialize(prototype_index_names: [], output: $stdout, &load_admin) @output = output @prototype_index_names = prototype_index_names.to_set @load_admin = load_admin define_tasks end |
Instance Attribute Details
#output ⇒ Object (readonly)
Returns the value of attribute output.
18 19 20 |
# File 'lib/elastic_graph/admin/rake_tasks.rb', line 18 def output @output end |
#prototype_index_names ⇒ Object (readonly)
Returns the value of attribute prototype_index_names.
18 19 20 |
# File 'lib/elastic_graph/admin/rake_tasks.rb', line 18 def prototype_index_names @prototype_index_names end |