Module: Hoe::Reek

Defined in:
lib/hoe/reek.rb

Overview

Main module for hoe-reek

Constant Summary collapse

VERSION =

Versionizing the gem

'1.2.5'.freeze

Instance Method Summary collapse

Instance Method Details

#define_reek_tasksObject


30
31
32
33
34
35
36
37
38
# File 'lib/hoe/reek.rb', line 30

def define_reek_tasks
  Reek::Rake::Task.new do |t|
    t.config_file = 'config.reek'
    t.source_files = 'lib/**/*.rb'
    t.reek_opts = ''
    t.fail_on_error = false
    t.verbose = true
  end
end

#initialize_reekObject

attr_accessor :reek


26
27
28
# File 'lib/hoe/reek.rb', line 26

def initialize_reek
  require 'reek/rake/task'
end