Created
January 23, 2016 16:36
-
-
Save rocketz/1fcb66ed7edba17a7928 to your computer and use it in GitHub Desktop.
Bug?
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
a = 20 | |
q = a.class | |
puts q | |
if q == Fixnum | |
puts "q is fixnum" | |
end | |
case q | |
when Fixnum | |
puts "q is fixnum" | |
else | |
puts "what?" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment