Flay plugin for hoe.
Analyze for code duplication.
Optional: flay threshold to determine threshold failure. [default: 1200-100]
Define tasks for plugin.
# File lib/hoe/flay.rb, line 24 24: def define_flay_tasks 25: begin 26: require 'flay' 27: require 'flay_task' 28: FlayTask.new :flay, self.flay_threshold 29: rescue Exception 30: # skip 31: end 32: end
Initialize variables for plugin.
# File lib/hoe/flay.rb, line 17 17: def initialize_flay 18: self.flay_threshold ||= timebomb 1200, 100 # 80% of average :( 19: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.