summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-08-11 00:53:29 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-08-11 00:53:29 +0000
commit6fc9e6c2e1895018b89f45494384015b6b365a81 (patch)
treee79b8be2c53139fdd13822bb2744e1c69b930cf6 /lib
parent34f90f7b9784f0abc2fd10be0aac62f5d25bd6af (diff)
* (httputils) avoid "method replaced" warning
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/utils/httputil.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/core/utils/httputil.rb b/lib/rbot/core/utils/httputil.rb
index 1044b4b5..1f0d496c 100644
--- a/lib/rbot/core/utils/httputil.rb
+++ b/lib/rbot/core/utils/httputil.rb
@@ -386,6 +386,7 @@ class HttpUtil
end
end
class << resp
+ undef_method :body
alias :body :cooked_body
end
if block_given?