Skip to content

Instantly share code, notes, and snippets.

@sirramongabriel
Last active December 22, 2015 14:48
Show Gist options
  • Select an option

  • Save sirramongabriel/6487603 to your computer and use it in GitHub Desktop.

Select an option

Save sirramongabriel/6487603 to your computer and use it in GitHub Desktop.
introduces the movies hash as well as the first set of client options.
movie_list = {}
puts "Hello, welcome to movie manager. Please type one of the following options to get started."
puts "---- Type 'add' to add a movie to your list."
puts "---- Type 'update' to update a movie."
puts "---- Type 'display' to see all your movies."
puts "---- Type 'delete' to delete a movie."
choice = gets.chomp.downcase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment