SquishTastic

Just another mental vomit to recepticle pathway for Jeff Smick

Nov 6

require ‘blather/client’
class Echo < Blather::Client
  def receive_message(msg)
    send_data msg.reply! if msg.type == :chat
  end
end
Blather.run ‘echo@jabber.local’, ‘echo’, Echo.new
view raw This Gist brought to you by GitHub.

Page 1 of 1