On Sun, Nov 9, 2008 at 2:59 PM, John Mettraux <[EMAIL PROTECTED]> wrote:
>
> ---8<---
>  class JabberParticipant
>    include OpenWFE::LocalParticipant
>
>    def initialize (options={})
>
>      [EMAIL PROTECTED] = block
>
>      @im = Jabber::Simple.new(options[:account], options[:password])
>
>      @im.received_messages do |msg|
>        workitem = decode_workitem(msg)
>        reply_to_engine(workitem)
>      end
>    end
> (...)
> --->8---

oops, the part about the block has to get commented out... Crumb from
the initial draft...


-- 
John Mettraux   -   http://jmettraux.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to