Class: Numeric

Inherits:
Object show all
Defined in:
lib/gooddata/extensions/numeric.rb

Overview

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.

Instance Method Summary collapse

Instance Method Details

#duplicable?Boolean

Numbers are not duplicable:

3.duplicable? # => false 3.dup # => TypeError: can't dup Fixnum

Returns:

  • (Boolean)


12
13
14
# File 'lib/gooddata/extensions/numeric.rb', line 12

def duplicable?
  false
end