Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Azmandius21/eff05f500691a63d7dd0cdec1ab895ca to your computer and use it in GitHub Desktop.
Save Azmandius21/eff05f500691a63d7dd0cdec1ab895ca to your computer and use it in GitHub Desktop.
Gist qna
# 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