Extract key information from resume in Ruby