vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/lib/rake/task.rb
def execute(args=nil)
      args ||= EMPTY_TASK_ARGS
      if application.options.dryrun
        application.trace "** Execute (dry run) #{name}"
        return
      end
      application.trace "** Execute #{name}" if application.options.trace
      application.enhance_with_matching_rule(name) if @actions.empty?
      if opts = Hash.try_convert(args) and !opts.empty?
        @actions.each { |act| act.call(self, args, **opts)}
      else
        @actions.each { |act| act.call(self, args)}
      end
    end
# Execute the actions associated with this task.
Execute the actions associated with this task.
Execute the actions associated with this task .
def execute(args=nil)
      args ||= EMPTY_TASK_ARGS
      if application.options.dryrun
        application.trace "** Execute (dry run) #{name}"
        return
      end
      application.trace "** Execute #{name}" if application.options.trace
      application.enhance_with_matching_rule(name) if @actions.empty?
      if opts = Hash.try_convert(args) and !opts.empty?
        @actions.each { |act| act.call(self, args, **opts)}
      else
        @actions.each { |act| act.call(self, args)}
      end
    end
def execute ( args = nil ) args ||= EMPTY_TASK_ARGS if application . options . dryrun application . trace "** Execute (dry run) #{name}" return end application . trace "** Execute #{name}" if application . options . trace application . enhance_with_matching_rule ( name ) if @actions . empty? if opts = Hash . try_convert ( args ) and ! opts . empty? @actions . each { | act | act . call ( self , args , ** opts ) } else @actions . each { | act | act . call ( self , args ) } end end
Execute the actions associated with this task.
Execute the actions associated with this task .
args