From: Austin Ziegler Date: 2006-07-01T11:20:46+09:00 Subject: Re: Differences between irb and ruby. On 6/30/06, Minkoo Seo wrote: > I've recently learned that irb and ruby (ruby interpreter) behave > differently often and that irb is not running on ruby interpreter. You have learned incorrectly. irb behaves differently than Ruby might otherwise behave because all of the code entered is eval-ed when it's in a "complete" state for the Ruby interpreter to use. irb most *certainly* runs on top of Ruby. But there occasional permissions/visibility differences (pretty much the only differences that matter) which will bite someone's expectations. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca