Revision a445b722
Added by Marc Dequènes almost 14 years ago
- ID a445b722dd8aefe49872e7748e41c333a48a4b34
bin/test_client | ||
---|---|---|
# to allow in-place run for test
|
||
$: << File.join(File.dirname(__FILE__), "..", "lib")
|
||
|
||
require 'cyborghood/cyborg'
|
||
require 'cyborghood'
|
||
|
||
|
||
module CyborgHood
|
||
module TestClientHome
|
||
module TestClientLand
|
||
add_translations 'testclient'
|
||
|
||
class TestClientClient < Cyborg
|
||
... | ... | |
end
|
||
end
|
||
|
||
bot = CyborgHood::TestClientHome::TestClientClient.new
|
||
bot = CyborgHood::TestClientLand::TestClientClient.new
|
||
|
||
trap('INT') do
|
||
bot.stop(:quickly)
|
Also available in: Unified diff
[cleanup] the revenge of Mr Proper