class CLI

Public Instance Methods

run() click to toggle source
# File lib/podcastme/cli.rb, line 3
def run

  Scraper.scrape_podcast
    puts "Welcome to PodcastMe: Discover your next podcast from the best of 2018".colorize(:white).on_blue

    Podcast.all.each.with_index(1) do |podcast, i|
      puts "#{i}. Title: #{podcast.title}".chomp
      puts "Created by #{podcast.producer}".chomp
    end
      select_podcast_by_index
    end