Flowdock
method

parse_task_string

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: Application
parse_task_string(string) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.