Home Download Buy Blog Forum Support

Ruby code: namespace and tasks

Ruby code: namespace and tasks

Postby snowcrash on Fri Jul 12, 2013 10:55 am

Is there any way to list the tasks within namespaces (ideally grouped by namespace and indented within the namespace)?

e.g.
namespace :deploy do
task :default do
update
restart
end
end

I'm aware of how you can list methods within the code using Cmd R but this doesn't show namespaces or tasks.
Any suggestions?
snowcrash
 
Posts: 2
Joined: Fri Jul 12, 2013 10:52 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 30 guests