Created
May 18, 2022 09:42
-
-
Save denisdefreyne/bf44b021dab201cae95b2a02cc1f4a29 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
case "/home/denis" | |
when PathPattern.new("/home/*") | |
puts "Home sweet home" | |
else | |
puts "Somewhere, I guess" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment