]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
* (utils.rb) reflect the api/semantics changes in comments
authorDmitry Kim <dmitry point kim at gmail point com>
Fri, 30 Mar 2007 08:08:19 +0000 (08:08 +0000)
committerDmitry Kim <dmitry point kim at gmail point com>
Fri, 30 Mar 2007 08:08:19 +0000 (08:08 +0000)
lib/rbot/core/utils/utils.rb

index 8be0f170febd3776fc5cd5e94af16cc956cc370e..7856f70a9088af8477e2dacf326149b976000d0d 100644 (file)
@@ -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