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 343 343: def initialize(block) 344: @thread = Thread.current 345: @block = block 346: end