lib/skunk/cli/commands/status_reporter.rb in skunk-0.3.1 vs lib/skunk/cli/commands/status_reporter.rb in skunk-0.3.2

- old
+ new

@@ -11,11 +11,11 @@ attr_accessor :analysed_modules HEADINGS = %w[file stink_score churn_times_cost churn cost coverage].freeze TEMPLATE = ERB.new(<<-TEMPL -<%= ttable %>\n +<%= _ttable %>\n StinkScore Total: <%= total_stink_score %> Modules Analysed: <%= analysed_modules_count %> StinkScore Average: <%= stink_score_average %> <% if worst %>Worst StinkScore: <%= worst.stink_score %> (<%= worst.pathname %>)<% end %> TEMPL @@ -24,10 +24,10 @@ # Returns a status message with a table of all analysed_modules and # a stink score average def update_status_message opts = table_options.merge(headings: HEADINGS, rows: table) - ttable = Terminal::Table.new(opts) + _ttable = Terminal::Table.new(opts) @status_message = TEMPLATE.result(binding) end private