lib/cli.rb
def list
    @list ||= Wordwise::Scraper.scrape_word_lists
    puts ''
    display_list
  end
# Checks if @lists is populated. If not, calls .scrape_word_lists and populates it.
# Otherwise, call display_list and pass in the list.
Checks if @lists is populated. If not, calls .scrape_word_lists and populates it.
Otherwise, call display_list and pass in the list.
Checks if @lists is populated . If not calls . scrape_word_lists and populates it . Otherwise call display_list and pass in the list .
def list
    @list ||= Wordwise::Scraper.scrape_word_lists
    puts ''
    display_list
  end
def list @list ||= Wordwise :: Scraper . scrape_word_lists puts '' display_list end
Checks if @lists is populated.
Checks if @lists is populated .