From: Daniel Carrera Date: 2003-03-25T08:55:41+09:00 Subject: Re: exiting a loop On Mon, Mar 24, 2003 at 04:16:24PM +0900, ahoward wrote: > i end up doing something like this too, only i usually use : > > ruby -e 'puts SomeClass.new.methods.sort - Object.new.methods.sort' | less > > to weed out all but the unique ones. I didn't think of that. I just wrote this one-line script: ---------- #!/bin/sh # File name: methods ruby -e 'puts '$1'.new.methods.sort - Object.new.methods.sort' | less ---------- So I can just type "methods String" on a terminal. -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137