1 2 3 4 5 6 7 8 9 | class Hash def method_missing(n) self[n.to_s] end end hash = {'apple'=>'orange'} puts hash.apple |
Y2xhc3MgSGFzaAogIGRlZiBtZXRob2RfbWlzc2luZyhuKQogICAgc2VsZltuLnRvX3NdCiAgZW5kCmVuZAoKaGFzaCA9IHsnYXBwbGUnPT4nb3JhbmdlJ30KCnB1dHMgaGFzaC5hcHBsZQ==
-
upload with new input
-
result: Success time: 0s memory: 4868 kB returned value: 0
orange



