module Cli::Utils

Public Instance Methods

combined_metrics_name(mode) click to toggle source
# File lib/as-combined-metrics/utils.rb, line 2
def combined_metrics_name(mode)
  # combined the metrics name for each mode with underscores
  "#{mode}_#{@config[mode].map { |m| m[:metric_name].gsub(/\.|-/, '_')}.join('_')}"
end