# File lib/gemnasium/parser/patterns.rb, line 38 def self.options(string) {}.tap do |hash| return hash unless string pairs = Hash[*string.match(OPTIONS).captures.compact] pairs.each{|k,v| hash[key(k)] = value(v) } end end