From: Thomas Preymesser Date: 2009-03-15T22:33:25+09:00 Subject: Re: How can I know if a program is running inside irb? --001485f85ef611136b0465286952 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 2009/3/15 abc > Hi, > > from a certain piece of code, how can I know if it's been run inside > irb, or just ruby. I've tried looking in the IRB rdoc, but haven't > found any relevant methods. see the gem sys-proctable! -Thomas -- Thomas Preymesser thopre@gmail.com http://thopre.googlepages.com/ http://thopre.wordpress.com/ Jean Anouilh - "What you get free costs too much." --001485f85ef611136b0465286952--