class RuboCop::ConfigObsoletion::Rule
def to_sentence(collection, connector: 'and')
def to_sentence(collection, connector: 'and') return collection.first if collection.size == 1 [collection[0..-2].join(', '), collection[-1]].join(" #{connector} ") end