diff options
author | Dmitry Kim <dmitry point kim at gmail point com> | 2007-03-30 08:08:19 +0000 |
---|---|---|
committer | Dmitry Kim <dmitry point kim at gmail point com> | 2007-03-30 08:08:19 +0000 |
commit | c56db0e3b6269a0cae8e93cafb158a0d3f3c8a2c (patch) | |
tree | f380043a365631230b5ff24e28c07e1401707e5d /lib | |
parent | 14a47359090290fb82d86e7b3feab4b702b0848d (diff) |
* (utils.rb) reflect the api/semantics changes in comments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/core/utils/utils.rb | 6 |
1 files changed, 4 insertions, 2 deletions
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 |