lib/fasterer/offense.rb in fasterer-0.1.10 vs lib/fasterer/offense.rb in fasterer-0.1.11
- old
+ new
@@ -69,10 +69,13 @@
getter_vs_attr_reader:
'Use attr_reader for reading ivars',
setter_vs_attr_writer:
- 'Use attr_writer for writing to ivars'
+ 'Use attr_writer for writing to ivars',
+
+ include_vs_cover_on_range:
+ 'Use #cover? instead of #include? on ranges'
}
end
end