🤹♂️ I’m working on Tebiki, inc.
https://tebiki.co.jp/
And developing "tebiki".
https://tebiki.jp/
Now hiring full time member!
https://tebiki.co.jp/recruit.html
str = "Hello, world!" | |
=> "Hello, world!" | |
# object_idを確認してみる | |
str.object_id | |
=> 47382279417420 | |
# 左にビットシフトしてオブジェクトの実際のポインタ値を確認してみる | |
str.object_id.<<(1).to_s(16) | |
=> "563017dddc98" |
str = "Hello, world!" | |
=> "Hello, world!" | |
# object_idを確認してみる | |
str.object_id | |
=> 240 | |
# 左にビットシフトしてもオブジェクトの実際のポインタ値を確認できない | |
str.object_id.<<(1).to_s(16) | |
=> "1e0" |
🤹♂️ I’m working on Tebiki, inc.
https://tebiki.co.jp/
And developing "tebiki".
https://tebiki.jp/
Now hiring full time member!
https://tebiki.co.jp/recruit.html