Last active
February 2, 2016 07:22
-
-
Save sevvie/91df4aaf3aa306139d10 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
subtest { | |
ok 1 + 1 eq 2, "Reality sinks in; this isn't a dream."; | |
is 123.WHAT.gist, "(Int)", "Integers are treated as _scalar Int objects_"; | |
is 1.23.WHAT.gist, "(Rat)" "Rationals are treated as _scalar Rat objects_"; | |
is "moo".WHAT.gist, "(Str)", "Strings are treated as _scalar Str objects_"; | |
is [1, 2, 3].WHAT.gist, "(Array)", "Arrays, or Lists, are treated as _Array objects_"; | |
is {'name' => 'Camelia'}.WHAT.gist, "(Hash)", "Hashes, or hash-maps, are treated as _Hash objects_"; | |
}, "Yeah... I've suspended disbelief for the narrative; I'm stranded."; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment