class MoviesNearYou::CLI

Attributes

showtimes[RW]
theater[RW]

Public Instance Methods

call() click to toggle source
# File lib/movies_near_you/cli.rb, line 5
 def call
 puts "What is your area code?"
 zip = gets.chomp
 movie = MoviesNearYou::Scraper.new(zip)
 movie.get_page_info
 movie.print_info
 puts "Any movie that interests you?"
 time = gets.chomp
 puts "Here are the showtimes:"
 movie.get_showtimes(time)
 puts "Enjoy your Movie!"
end