ruby: diff btw gets and readline