Sha256: 0416e4ecc38bb585281df7ba0ec0cc328444f7d9c875c7702f8ddeaedb91358a
Contents?: true
Size: 292 Bytes
Versions: 4
Compression:
Stored size: 292 Bytes
Contents
#!/usr/bin/env ruby $LOAD_PATH << File.join(File.dirname(__FILE__), '..', '..', 'lib') require 'rype' require 'pp' Rype.on(:chatmessage_received) do |chatmessage| chatmessage.chat do |chat| chatmessage.body do |body| chat.send_message(body) end end end Rype.attach.join
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rype-0.0.4 | examples/chats/echo_server.rb |
rype-0.0.3 | examples/chats/echo_server.rb |
rype-0.0.2 | examples/chats/echo_server.rb |
rype-0.0.1 | examples/chats/echo_server.rb |