`get_integer` might have been a better name for this method, considering how it converts the user's input to an integer before returning it.