Flashcard (Front and Back)

Front (Question)

How can I call one Rake task from inside another task?

Back (Answer)
Rake::Task[:secondary].invoke  

task :primary do        
Rake::Task[:secondary].invoke  
end  
task :secondary do            
puts "Doing Secondary Task"   
end


Memory Work Out Sessions use brain research to accelerate and improve memorization. Automatically scheduled daily review drills ensure sure you don't forget.





or Find more than 100,000 other things to learn

Educators and Trainers:

Tour YoYoBrain's resources for learning and teaching
Previous Card See the whole card set Next Card


Comments:






App_store_badge
What's new | About Us | Privacy Policy | Copyright Policy | Contact Us

Copyright 2007-2025 YoYoBrain.com

Managed By W3mg