Created
July 27, 2015 19:15
-
-
Save qrush/52f19f2f294cfb4f1635 to your computer and use it in GitHub Desktop.
This file contains 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
lines = File.readlines("/usr/share/dict/american-english") | |
trumps = lines.select { |line| line =~ /^[a-z]/ }.reject { |line| line =~ /\'/ }.map do |line| | |
"Trump #{line[0].upcase}#{line[1..-1]}" | |
end.compact | |
trumps.shuffle.each { |line| puts line }; nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment