From 7b0bc554fada27b8a5a0feb3fc0f61144b561060 Mon Sep 17 00:00:00 2001 From: Kevin Clark Date: Wed, 18 Jun 2008 01:12:37 +0000 Subject: [PATCH] Tweak the code to turn on Deprecation to make rcov happy git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668977 13f79535-47bb-0310-9956-ffa450edef68 --- lib/rb/lib/thrift/deprecation.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/rb/lib/thrift/deprecation.rb b/lib/rb/lib/thrift/deprecation.rb index 094769ba..38161b7d 100644 --- a/lib/rb/lib/thrift/deprecation.rb +++ b/lib/rb/lib/thrift/deprecation.rb @@ -1,9 +1,7 @@ # provide a backwards-compatible wrapper API and deprecate it module Thrift - unless const_defined?(:DEPRECATION) - DEPRECATION = true - end + DEPRECATION = true unless const_defined?(:DEPRECATION) end class Module -- 2.17.1