Hi –
Answering 2/3 of your questions
Sorry if these questions have come up before, but google searching hasn’t
pulled up anything for me.
- How do you compare types? i.e.
w = nil
x = “foo” if w != nil # still assigns foo to x
No it doesn’t:
irb(main):001:0> w = nil
=> nil
irb(main):002:0> x = “foo” if w != nil
=> nil
irb(main):003:0> x
=> nil
Can you give another example of what you’re trying to do?
- What is the official irc network and channel for ruby? (#ruby-lang on
what network?)
David
···
On Sat, 11 Oct 2003 ghost-no-spam@cotse.net wrote:
–
David Alan Black
home: dblack@superlink.net
work: blackdav@shu.edu
Web: http://pirate.shu.edu/~blackdav