class Reek::Rake::Task

A Rake task that runs Reek on a set of source files.

Example:

require 'reek/rake/task'

Reek::Rake::Task.new do |t|
  t.fail_on_error = false
end

This will create a task that can be run with:

rake reek

Examples:

rake reek                                # checks lib/**/*.rb
rake reek REEK_SRC=just_one_file.rb      # checks a single source file
rake reek REEK_OPTS=-s                   # sorts the report by smell

@public

@quality :reek:TooManyInstanceVariables { max_instance_variables: 6 } @quality :reek:Attribute