Created
May 30, 2023 08:48
-
-
Save Azmandius21/eff05f500691a63d7dd0cdec1ab895ca to your computer and use it in GitHub Desktop.
Gist qna
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
# Test gist for my application | |
class Link | |
GIST_URL = Regexp.new 'https://gist.github.com' | |
def gist? | |
self.url.match?(GIST_URL) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment