lib/rake/funnel/tasks/timing.rb in rake-funnel-0.20.2 vs lib/rake/funnel/tasks/timing.rb in rake-funnel-0.21.0

- old
+ new

@@ -25,10 +25,10 @@ @name = args.shift || :timing @stats = Statistics.new end - def define(_args, &task_block) # rubocop:disable Metrics/AbcSize + def define(_args, &task_block) patches.each(&:apply!) task name, :failed do |_, task_args| yield(*[self, task_args].slice(0, task_block.arity)) if task_block