Flowdock
parse(s) public

No documentation

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

Hide source
# File lib/spec/runner/class_and_arguments_parser.rb, line 5
        def parse(s)
          if s =~ /([a-zA-Z_]+(?:::[a-zA-Z_]+)*):?(.*)/
            arg = $2 == "" ? nil : $2
            [$1, arg]
          else
            raise "Couldn't parse #{s.inspect}"
          end
        end
Register or log in to add new notes.