From c56db0e3b6269a0cae8e93cafb158a0d3f3c8a2c Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Fri, 30 Mar 2007 08:08:19 +0000 Subject: * (utils.rb) reflect the api/semantics changes in comments --- lib/rbot/core/utils/utils.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/rbot') diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index 8be0f170..7856f70a 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -506,8 +506,10 @@ module ::Irc end # Get the first pars of the first _count_ _urls_. - # The pages are downloaded using an HttpUtil service passed as _opts_ :http_util, - # and echoed as replies to the IRC message passed as _opts_ :message. + # The pages are downloaded using the bot httputil service. + # Returns an array of the first paragraphs fetched. + # If (optional) _opts_ :message is specified, those paragraphs are + # echoed as replies to the IRC message passed as _opts_ :message # def Utils.get_first_pars(urls, count, opts={}) idx = 0 -- cgit v1.2.3