module RuboCop::Formatter::TextUtil
def pluralize(number, thing, options = {})
def pluralize(number, thing, options = {}) text = '' if number == 0 && options[:no_for_zero] text = 'no' else text << number.to_s end text << " #{thing}" text << 's' unless number == 1 text end