# File lib/mocha/cardinality.rb, line 80 80: def times(number) 81: case number 82: when 0 then "no times" 83: when 1 then "once" 84: when 2 then "twice" 85: else "#{number} times" 86: end 87: end