lib/fasterer/offense.rb in fasterer-0.3.0 vs lib/fasterer/offense.rb in fasterer-0.3.1
- old
+ new
@@ -14,12 +14,9 @@
def explanation
@explanation ||= EXPLANATIONS.fetch(offense_name)
end
EXPLANATIONS = {
- parallel_assignment:
- 'Parallel assignment is slower than sequential assignment',
-
rescue_vs_respond_to:
'Don\'t rescue NoMethodError, rather check with respond_to?',
module_eval:
'Using module_eval is slower than define_method',