Thursday, June 14, 2007
I've blogged before about efforts to get shell variables like !! and !$ hooked up in irb and script/console. Ben Bleything's method is here. It's not significantly different from my own implementation of !!, even sharing the same name (h!), but seems to have the same problem, which is that invoking it twice in a row could result in trapping yourself in an eval() loop.
Posted by Giles Bowkett at 3:15 PM