Sha256: f3e9278ace6d489e55669e40190b16868436a9e8225a0e902c5f25a81c7edead
Contents?: true
Size: 254 Bytes
Versions: 1
Compression:
Stored size: 254 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- $LOAD_PATH.unshift 'lib' require 'rlyeh' class MyApp < Rlyeh::Base on :privmsg do |env| p "MyApp1: #{env.message}" end on :privmsg do |env| p "MyApp2: #{env.message}" end end Rlyeh.run MyApp
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rlyeh-0.0.1 | example/simple.rb |