From: ahoward Date: 2003-03-24T16:16:24+09:00 Subject: Re: exiting a loop On Mon, 24 Mar 2003, Daniel Carrera wrote: > 3) To learn about class 'SomeClass': > > ruby -e 'puts SomeClass.new.methods.sort' | less > > You'd be surprised how often I end up doing (3). But I think that (2) is > the most common. 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. -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ahoward@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================