# File lib/rake/task.rb, line 213 213: def execute(args=nil) 214: args ||= EMPTY_TASK_ARGS 215: if application.options.dryrun 216: application.trace "** Execute (dry run) #{name}" 217: return 218: end 219: if application.options.trace 220: application.trace "** Execute #{name}" 221: end 222: application.enhance_with_matching_rule(name) if @actions.empty? 223: @actions.each do |act| 224: case act.arity 225: when 1 226: act.call(self) 227: else 228: act.call(self, args) 229: end 230: end 231: end