Enable all the rubicop perf cops

This commit is contained in:
gregoirenovel 2017-11-20 18:55:59 +01:00
parent b76a7c9975
commit 379e7b74d6
9 changed files with 36 additions and 36 deletions

View file

@ -1,5 +1,5 @@
class EtablissementCsvSerializer < EtablissementSerializer
def adresse
object.adresse.chomp.gsub("\r\n", ' ').gsub("\r", '')
object.adresse.chomp.gsub("\r\n", ' ').delete("\r")
end
end