Class | Jabber::Stream::ThreadBlock |
In: |
lib/xmpp4r/stream.rb
|
Parent: | Object |
This is used by Jabber::Stream internally to keep track of any blocks which were passed to Stream#send.
# File lib/xmpp4r/stream.rb, line 335 335: def initialize(block) 336: @thread = Thread.current 337: @block = block 338: end