Method: Contracto::Stats.responses_usage

Defined in:
lib/contracto/stats.rb

.responses_usageObject



26
27
28
29
30
# File 'lib/contracto/stats.rb', line 26

def responses_usage
  return NA_TEXT if all_responses.size.zero?

  (used_responses.size/all_responses.size.to_f).round(2)
end