commit | 7b0bc554fada27b8a5a0feb3fc0f61144b561060 | [log] [tgz] |
---|---|---|
author | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:12:37 2008 +0000 |
committer | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:12:37 2008 +0000 |
tree | 8d198fa896e1ef25d55c53aa103807308141e88d | |
parent | 3f48333ad8c683337b8392a467976a089a3ba6d3 [diff] |
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
diff --git a/lib/rb/lib/thrift/deprecation.rb b/lib/rb/lib/thrift/deprecation.rb index 094769b..38161b7 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