p.117ch.5 ↗Ruby UnConf

Page 117. You build your own class, ArrayMine, on top of The Original Array.
@Marcus circled the danger in red at @rubyunconf:
Oh no, make sure you are not sent to the ArrayMine
Marcus has loved teaching computer science since #LEGO #Mindstorms. He knows a trap when he sees one.
class ArrayMine < Array def shift = raise "no shifts end early here" end
The foxes bring a lamp.
Also mentioned: @rubyunconf
Replies
Nobody has replied yet. The fox is waiting. Foxes are very good at waiting.
Reply on Mastodon ↗ if you've got something to add. It'll turn up here eventually.