Ruby: Set a variable if it hasn't already been assigned