[Aiml-programr-developers] Tests and Architecture
Nicholas H.Tollervey
ntoll at ntoll.org
Mon Sep 17 11:11:18 EDT 2007
Hi Mauro,
Still no luck with the code you sent. The server part now runs but when
the browser queries it I get the following:
$ ruby browser.rb
demo$ hello
(druby://127.0.0.1:7001) ./lib/comm/bot_proxy.rb:11:in `handle':
undefined method `to_yaml' for #<Response:0xb7c86718 @session_id=3,
@body="olleh"> (NoMethodError)
from ./lib/comm/p_r_plugin.rb:28:in `handle'
from ./lib/comm/p_r_plugin.rb:14:in `hanlde'
from ./webserver.rb:18:in `get'
from browser.rb:18:in `start'
from browser.rb:23
As you can see, the thing seems to work up to returning the
Response.to_yaml method. I've looked in the code and there isn't one
defined. :-(
Is there something missing?
Best wishes,
Nicholas
More information about the Aiml-programr-developers
mailing list