Turn Rake Task List Into Hash With Ruby
Join the DZone community and get the full member experience.
Join For Free
Hash[*(`rake -T`.split(/\n/).collect { |l| l.match(/rake (\S+)\s+\#\s(.+)/).to_a }.collect { |l| [l[1], l[2]] }).flatten]
Task (computing)
Opinions expressed by DZone contributors are their own.
Comments