examples/middleware.rb in rlyeh-0.0.2 vs examples/middleware.rb in rlyeh-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
$LOAD_PATH.unshift 'lib', '../lib'
require 'rlyeh'
require 'logger'
class MyMiddleware
- include Rlyeh::Dispatcher
+ include Rlyeh::Dispatchable
on :privmsg do |env|
p "Middleware: #{env.message}"
end