From: Ben Bleything Date: 2007-10-15T06:46:05+09:00 Subject: Re: irb, to learn more... On Mon, Oct 15, 2007, John Joyce wrote: > You can run an instance of irb within irb. How very Ruby!? This is cool because it lets you set up a new context if you want to try something without messing with your current context. I'm sure there are other uses as well. I believe you can also give each new one a name and switch between them at will, but I'm not sure how. > In irb you can also do this: > > methods > > (or my preferred approach...) > methods.sort The reason is that the top-level context of an IRB session is an Object, so any method you can call on an object is there. irb is awesome :D Ben