Type:
Class

######################################################################### A Task is the basic unit of work in a Rakefile. Tasks have associated actions (possibly more than one) and a list of prerequisites. When invoked, a task will first ensure that all of its prerequisites have an opportunity to run and then it will execute its own actions.

Tasks are not usually created directly using the new method, but rather use the file and task convenience methods.

source
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

source() Instance Public methods First source from a rule (nil if no sources)

2025-01-10 15:47:30
sources
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

sources() Instance Public methods

2025-01-10 15:47:30
scope_name
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

scope_name(scope, task_name) Class Public methods Apply the scope to the task

2025-01-10 15:47:30
clear_actions
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

clear_actions() Instance Public methods Clear the existing actions on a rake

2025-01-10 15:47:30
[]
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

[](task_name) Class Public methods Return a task with the given name. If the

2025-01-10 15:47:30
clear
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

clear() Class Public methods Clear the task list. This cause rake to immediately

2025-01-10 15:47:30
execute
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

execute(args=nil) Instance Public methods Execute the actions associated with

2025-01-10 15:47:30
comment=
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

comment=(description) Instance Public methods Writing to the comment attribute

2025-01-10 15:47:30
clear 2
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

clear() Instance Public methods Clear the existing prerequisites and actions

2025-01-10 15:47:30
timestamp
  • References/Ruby on Rails/Ruby/Classes/Rake/Rake::Task

timestamp() Instance Public methods Timestamp for this task. Basic tasks return

2025-01-10 15:47:30