On Tue, Mar 04, 2003 at 03:35:32AM +0900, ghost-no-spam / cotse.net wrote:

> 1) How do you compare types? i.e.
> 
> w = nil
> x = "foo" if w != nil # still assigns foo to x

I don't quite undersatnd your question.  Could you elaborate?

> 2) What is the official irc network and channel for ruby? (#ruby-lang on 
> what network?)

It's irc.freenode.net.  It should really be posted somewhere.


> 3) I need to take an ip and convert it to base10. Are there base 
> conversion methods in Ruby? (I've found some addons and exstensions, but I 
> need something that's already built in if possible)

I don't think so.  Why don't you just write your own?
What's the format of your input?

-- 
Daniel Carrera
Graduate Teaching Assistant.  Math Dept.
University of Maryland.  (301) 405-5137