Created
December 24, 2010 14:18
-
-
Save follesoe/754268 to your computer and use it in GitHub Desktop.
Learn the language, live the lifestyle
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
| # Ruby knows what you mean, even if you | |
| # want to do math on an entire Array | |
| cities = %w[ London Oslo Paris | |
| Amsterdam Berlin ] | |
| visited = %w[Berlin Oslo] | |
| puts "I still need to visit the following cities:", | |
| cities - visited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment