# File lib/rake.rb, line 602 602: def execute(args=nil) 603: args ||= EMPTY_TASK_ARGS 604: if application.options.dryrun 605: puts "** Execute (dry run) #{name}" 606: return 607: end 608: if application.options.trace 609: puts "** Execute #{name}" 610: end 611: application.enhance_with_matching_rule(name) if @actions.empty? 612: @actions.each do |act| 613: case act.arity 614: when 1 615: act.call(self) 616: else 617: act.call(self, args) 618: end 619: end 620: end