WhoIs lookup using Ruby

Is there a Ruby class or an API I could use for conducting WhoIs lookups
on domain names? I found whois-ruby, but it looks like it only does
ipwhois lookups, which isn’t what I’m looking for.

Any ideas? I’ve been looking around for a while and haven’t had any
luck…

Andrew H. wrote:

Is there a Ruby class or an API I could use for conducting WhoIs lookups
on domain names? I found whois-ruby, but it looks like it only does
ipwhois lookups, which isn’t what I’m looking for.

Any ideas? I’ve been looking around for a while and haven’t had any
luck…

Nevermind - it looks like my best bet is going to be parsing the output
of a command-line whois client.