Created
March 28, 2012 17:46
-
-
Save seabre/2228652 to your computer and use it in GitHub Desktop.
Weird Number Binary Thing in Ruby
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
> 5[0] | |
=> 1 | |
> 5[1] | |
=> 0 | |
> 5[2] | |
=> 1 | |
> 5[3] | |
=> 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment