Kevin Rutherford
Account owner
Kevin Rutherford's latest activity
Sunday, April 05 2009
34
Stop class_eval/instance_eval being counted as a nested iterator
was updated
in reek
-
Kevin Rutherford commented at 8:13 AMCan you simply extract the outer block's body into a new method?
-
35
Need config file example for long method
was updated
in reek
Friday, April 03 2009
33
Allow matching on number of smell instances
was updated
in reek
-
Kevin Rutherford commented at 7:53 AMThere is already another way to do what you want:
dir = Dir['lib/**/*.rb'].to_source dir.report.should have_at_most(85).smellsNot quite so sugary, perhap...
Thursday, April 02 2009
33
Allow matching on number of smell instances
was updated
in reek
-
Kevin Rutherford commented at 2:27 PMCool -- I'm on it this weekend. One smell tweak, while we're sketching code:
# specific classes or directories that we've cleaned up completely [ NewClas... -
Kevin Rutherford commented at 2:04 PMI'm quite reluctant to add numerical theshholds for smells. But here's an alternative thought:
require 'my_class' describe MyClass do it 'reports no co...