method
parse_task_string
v1_9_3_125 -
Show latest stable
- Class:
Rake::Application
parse_task_string(string)public
No documentation available.
# File lib/rake/application.rb, line 119
def parse_task_string(string)
if string =~ /^([^\[]+)(\[(.*)\])$/
name = $1
args = $3.split(/\s*,\s*/)
else
name = string
args = []
end
[name, args]
end