# File lib/rake.rb, line 621
621:     def execute(args=nil)
622:       args ||= EMPTY_TASK_ARGS
623:       if application.options.dryrun
624:         puts "** Execute (dry run) #{name}"
625:         return
626:       end
627:       if application.options.trace
628:         puts "** Execute #{name}"
629:       end
630:       application.enhance_with_matching_rule(name) if @actions.empty?
631:       @actions.each do |act|
632:         case act.arity
633:         when 1
634:           act.call(self)
635:         else
636:           act.call(self, args)
637:         end
638:       end
639:     end