Created
May 4, 2014 09:20
-
-
Save hiroeorz/11513380 to your computer and use it in GitHub Desktop.
ツナでもわかるmruby [3回目:数値] ref: http://qiita.com/hiroeorz@github/items/310750f445028179b022
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
$ mirb | |
mirb Embeddable Interactive Ruby Shell | |
> |
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
4 / 2 #=> 2 |
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
0b0011 | 0b1010 #=> 11 1011 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment