lib/gooddata/extensions/object.rb in gooddata-0.6.49 vs lib/gooddata/extensions/object.rb in gooddata-0.6.50
- old
+ new
@@ -1,8 +1,8 @@
# encoding: UTF-8
#
-# Copyright (c) 2010-2015 GoodData Corporation. All rights reserved.
+# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
class Object
class << self
@@ -21,7 +21,11 @@
end
def set_const(name, val)
send(:remove_const, name) if const_defined?(name)
send(:const_set, name, val)
+ end
+
+ def to_b
+ false
end
end