class DeepCover::Analyser::Stats

Public Instance Methods

percent() click to toggle source
# File lib/deep_cover/analyser/stats.rb, line 50
def percent
  Analyser::StatsBase.new(**to_h.transform_values { |v| (100 * v).fdiv(total).round(DECIMALS) })
end