module Hoe::Flay
def define_flay_tasks
def define_flay_tasks begin require 'flay_task' FlayTask.new :flay, self.flay_threshold rescue Exception # skip end end
def initialize_flay
def initialize_flay self.flay_threshold ||= timebomb 1200, 100 # 80% of average :( end