# File lib/wrongdoc/readme.rb, line 10 def readme_metadata l = File.readlines("README")[0].strip! l.gsub!(/^=\s+/, '') or abort "#{l.inspect} doesn't start with '='" title = l.dup if l.gsub!(/^(\w+\!)\s+/, '') # Rainbows! return $1, l, title else return (l.split(/\s*[:-]\s*/, 2)).push(title) end end