Class: ElasticGraph::Admin::ClusterConfigurator::ActionReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/elastic_graph/admin/cluster_configurator/action_reporter.rb

Instance Method Summary collapse

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(message)
  @output.puts "#{message.chomp}\n#{"=" * 80}\n"
end