Skip to content

Instantly share code, notes, and snippets.

@dminuoso

dminuoso/foo.rb Secret

Created October 30, 2017 08:57
Show Gist options
  • Save dminuoso/86c6175030d480c29a4d5da0e33911e0 to your computer and use it in GitHub Desktop.
Save dminuoso/86c6175030d480c29a4d5da0e33911e0 to your computer and use it in GitHub Desktop.
case foo
when String then true
when Regexp then false
else raise ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment