Class: ElasticGraph::Admin::ClusterConfigurator::ActionReporter
- Inherits:
-
Object
- Object
- ElasticGraph::Admin::ClusterConfigurator::ActionReporter
- Defined in:
- lib/elastic_graph/admin/cluster_configurator/action_reporter.rb
Instance Method Summary collapse
-
#initialize(output) ⇒ ActionReporter
constructor
A new instance of ActionReporter.
- #report_action(message) ⇒ Object
Constructor Details
#initialize(output) ⇒ ActionReporter
Returns a new instance of ActionReporter.
13 14 15 |
# File 'lib/elastic_graph/admin/cluster_configurator/action_reporter.rb', line 13 def initialize(output) @output = output end |
Instance Method Details
#report_action(message) ⇒ Object
17 18 19 |
# File 'lib/elastic_graph/admin/cluster_configurator/action_reporter.rb', line 17 def report_action() @output.puts "#{message.chomp}\n#{"=" * 80}\n" end |