From 6fc9e6c2e1895018b89f45494384015b6b365a81 Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Sat, 11 Aug 2007 00:53:29 +0000 Subject: * (httputils) avoid "method replaced" warning --- lib/rbot/core/utils/httputil.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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? -- cgit v1.2.3