Slide 127
Slide 127 text
@mherold
puts RubyVM::InstructionSequence.compile(
“{ **sam, height: ‘1.66m’ }”
).disasm
== disasm: #@:1 (1,0)-(1,26)>=================
0000 putspecialobject 1 ( 1)[Li]
0002 putself
0003 opt_send_without_block ,
0006 opt_send_without_block ,
0009 opt_send_without_block ,
0012 putspecialobject 1
0014 swap
0015 putobject :height
0017 putstring "1.66m"
0019 opt_send_without_block ,
0022 leave