Created
November 15, 2014 18:23
-
-
Save jasonblanchard/b47923769906e13e2918 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| todos = {"Check out Ruby docs on String" => "complete", "Check out Ruby docs on Fixnum" => "complete", "Check out Ruby docs on Array" => "incomplete", "Check out Ruby docs on Hash" => "incomplete"} | |
| todos.each do |todo, status| | |
| puts "#{todo}: #{status}" | |
| end | |
| puts "I have a total of #{todos.count} todos." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment