Sha256: c8aa4c828e0886c2cfe80585f05eed22c7b4ac1d10b4be69f4613d6eb3bb9954

Contents?: true

Size: 401 Bytes

Versions: 29

Compression:

Stored size: 401 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 TrueClass
  # +true+ is not duplicable:
  #
  #   true.duplicable? # => false
  #   true.dup         # => TypeError: can't dup TrueClass
  def duplicable?
    false
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
gooddata-0.6.30 lib/gooddata/extensions/true.rb
gooddata-0.6.29 lib/gooddata/extensions/true.rb
gooddata-0.6.28 lib/gooddata/extensions/true.rb
gooddata-0.6.27 lib/gooddata/extensions/true.rb
gooddata-0.6.26 lib/gooddata/extensions/true.rb
gooddata-0.6.25 lib/gooddata/extensions/true.rb
gooddata-0.6.24 lib/gooddata/extensions/true.rb
gooddata-0.6.23 lib/gooddata/extensions/true.rb
gooddata-0.6.22 lib/gooddata/extensions/true.rb