Sha256: cd9427d7b9ba373ddcbb05d52f83590530ab722d7da6ab7f4bfc5ec45e129cab
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- $:.unshift 'lib', '../lib' require 'rlyeh' class BasicServer < Rlyeh::Base use Rlyeh::DeepOnes::Logger use Rlyeh::DeepOnes::Auth::Basic, 'dankogai', 'kogaidan' set :server_name, 'basic-server' set :server_version, '1.0.0' on :privmsg do |env| puts "RECV: #{env.message}" end end Rlyeh.emerge BasicServer, :host => '0.0.0.0'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rlyeh-0.1.1 | examples/basic.rb |