On Mon, Jan 17, 2011 at 01:36:03PM +0100, Gonzalo Suárez wrote:
> 
> Here is the code I use to register a participant:
> 
> --8--
> # participants registration list
> #
> RuoteKit.engine.participant_list = [
>   [ 'form', 'XmppStorageParticipant', { 'resource' => resource  } ],
>   [ '^.+$', 'Ruote::StorageParticipant', {} ]
> ]
> --8--
> 
> The initalization method is just:
> 
>   def initialize(opts)
>     puts caller
>     @resource = opts['resource']
>   end
> 
> It's pretty much a regular storage_participant. Let me know if you
> need some more info.

Hello Gonzalo,

I'm trying to determine if your class does have the #timeout instance method.

Could you please tell me the output of

---8<---
p RUBY_DESCRIPTION
puts
[ XmppStorageParticipant, Ruote::StorageParticipant, NilClass ].each do |k|
  p k
  p k.instance_methods
  puts
end
--->8---

in your rails console / environment ? Both Jruby and Ruby 1.8.7 would be 
appreciated.


Thanks in advance,

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

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to