Sha256: fb1506aa8af7805e25ecd020a5930d0e293aace207cb89761a22c781b7d1a1d7

Contents?: true

Size: 390 Bytes

Versions: 29

Compression:

Stored size: 390 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 Numeric
  # Numbers are not duplicable:
  #
  #  3.duplicable? # => false
  #  3.dup         # => TypeError: can't dup Fixnum
  def duplicable?
    false
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

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