Created
April 30, 2019 21:18
-
-
Save juanca/efc49bbc85e7b61817440b02421ba0a9 to your computer and use it in GitHub Desktop.
pair+juan-carlos
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
require 'set' | |
Set.new("pair".chars) + Set.new("juan".chars) - Set.new("carlos".chars) | |
# => #<Set: {"p", "i", "j", "u", "n"}> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment