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.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.