Skip to content

Instantly share code, notes, and snippets.

@raorao
Created January 24, 2017 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raorao/c44f134d3b9f5a6fa5097ad966065dd0 to your computer and use it in GitHub Desktop.
Save raorao/c44f134d3b9f5a6fa5097ad966065dd0 to your computer and use it in GitHub Desktop.
GroceryList.start
GroceryList.next
# nil
GroceryList.add("a gallon of milk")
# :ok
GroceryList.next
# "a gallon of milk"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment