Sha256: 9f43082042b9215b82efbaac3d1634d140d550916c77c69750591e3ef6535a37

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2015 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
  def blank?
    respond_to?(:empty?) ? empty? : !self
  end

  def duplicable?
    true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gooddata-0.6.24 lib/gooddata/extensions/object.rb
gooddata-0.6.23 lib/gooddata/extensions/object.rb
gooddata-0.6.22 lib/gooddata/extensions/object.rb