Method: Jabber::MUC::SimpleMUCClient#on_room_message
- Defined in:
- lib/xmpp4r/muc/helper/simplemucclient.rb
#on_room_message(&block) ⇒ Object
Block to be invoked when a message from the room arrives
Example:
Astro has joined this session
- block
-
Takes two arguments: time, text
195 196 197 |
# File 'lib/xmpp4r/muc/helper/simplemucclient.rb', line 195 def (&block) @room_message_block = block end |