Xmpp4r broken? examples out of date?


gem install xmpp4r

cd /var/lib/gems/1.8/gems/xmpp4r-0.4/data/doc/xmpp4r/examples/basic

ruby versionbot.rb someid somepass

versionbot.rb:71: undefined method process' for #<Jabber::Client: 0x7f7dec8a9a28> (NoMethodError) from versionbot.rb:70:inloop’
from versionbot.rb:70

Apparently the Client#process method no longer exists. Possibly just
my thickheadedness, but the docs don’t seem to say what has replaced
that paradigm. Help?