method
pretty_print
1.1.12 -
Show latest stable
- Class:
Spec::Mocks::ErrorGenerator
pretty_print(count)private
No documentation available.
# File lib/spec/mocks/error_generator.rb, line 76
def pretty_print(count)
return "once" if count == 1
return "twice" if count == 2
return "#{count} times"
end