Sha256: 12ce3b2f54a19af2b55c49e445d4fbcd4f69ec9ff52d6043dac09f2710f80b12

Contents?: true

Size: 513 Bytes

Versions: 6

Compression:

Stored size: 513 Bytes

Contents

# 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
    def set_const(name, val)
      send(:remove_const, name) if const_defined?(name)
      send(:const_set, name, val)
    end
  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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gooddata-1.3.3-java lib/gooddata/extensions/object.rb
gooddata-1.3.3 lib/gooddata/extensions/object.rb
gooddata-1.3.2-java lib/gooddata/extensions/object.rb
gooddata-1.3.2 lib/gooddata/extensions/object.rb
gooddata-1.3.1-java lib/gooddata/extensions/object.rb
gooddata-1.3.1 lib/gooddata/extensions/object.rb