From: Finn Koch Date: 2007-08-23T23:41:07+09:00 Subject: Re: Class method access instance variable? David A. Black wrote: > Hi -- > > On Thu, 23 Aug 2007, Finn Koch wrote: > >>> >> http://pastie.caboo.se/90341 > In this: > > class IRCCallback > def self.check_next( input ) > ro.conn.send("PRIVMSG testuser :hey", 0) > puts "irc callback working" > end > end > > I don't see where ro is being defined. > > > David Oh, sorry, that should read 'mybot.conn.send("PRIVMSG testuser :hey", 0)' That's what I was trying last night. -- Posted via http://www.ruby-forum.com/.