expletive inserted Does cursing make you feel better?

Ruby Tuesday Volume 1

Quick Ruby tip. Shame on me for not knowing this but in irb

>>>_

That’s the underscore character, is always equal to the last expression that was evaluated. Thanks @sd.


1 Comment

Same goes for the python interpreter, _ is the last expression evaluated

Posted by Justin on 12 March 2009 @ 1am

Leave a Comment