Wed Jul 18 09:37:46 EST 2007 Matt Palmer * Unprotect methods on Mockbot (whoops, committing untested changes is naughty, kids) diff -rN -u old-tests/test/lib/mockbot.rb new-tests/test/lib/mockbot.rb --- old-tests/test/lib/mockbot.rb 2008-10-20 23:31:03.055858235 +1100 +++ new-tests/test/lib/mockbot.rb 2008-10-20 23:31:03.091857773 +1100 @@ -61,19 +61,16 @@ debug("Message handling terminated.") end - # :nodoc: - protected - # Who am I? Can I condemn this man, to slavery? Sorry, channelling # Jean Valjean... - def myself + def myself # :nodoc: @nick end # Replacement for the default bot's +say+ method, to just stuff the # message into +@bot.replies+ for the test to inspect at it's leisure. # - def say(replyto, msg, options = {}) + def say(replyto, msg, options = {}) # :nodoc: @replies << { :target => replyto, :content => msg } end