Here's what I would do with this file:
```ruby
require './lib/reddit'

puts 'clear'
puts "Welcome to Reddit search."
puts
puts "Please search a minimum number of upvotes you would like your stories to have."
puts "What is your number?"

number = gets.chomp.to_i

while number <= 0
  puts "That's not a valid number"
  puts "Make sure to enter a number greater than 0..."
  puts "What is your number?"
  number = gets.chomp.to_i
end

reddit = Reddit.new(number)
reddit.print_selected_stories
```