Class: Fudge::Tasks::Flay

Inherits:
Shell show all
Includes:
Helpers::BundleAware
Defined in:
lib/fudge/tasks/flay.rb

Overview

Allow use of Flay complexity analyser

task :flay

runs flay with max score of 0

task :flay, :exclude => 'subpath/'

excludes files matching :exclude from run

task :flay, :max => 20

sets max score to 20

Any and all options can be defined

Instance Attribute Summary

Attributes inherited from Shell

#arguments

Attributes inherited from Task

#args, #options

Method Summary

Methods inherited from Shell

#initialize, #run

Methods inherited from Task

#initialize, name

Constructor Details

This class inherits a constructor from Fudge::Tasks::Shell