Created
March 2, 2024 04:09
-
-
Save havenwood/d0d4d404145ac79ba44d7c9bb4d8bf2f to your computer and use it in GitHub Desktop.
Fun with Ruby pragma
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
#/|\ ^._.^ /|\-*-shaREABle-cONStaNt_vaLUe:LITEral;🦇;fRozEN_StRING-Literal:tRUE-*-/|\ ^._.^ /|\# | |
FROZEN = %w[❄️] | |
p FROZEN.frozen? | |
#=> true | |
p FROZEN.all?(&:frozen?) | |
#=> true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment