aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-06-13 07:12:26 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-06-13 07:12:26 +0530
commit7a979b2c5735e8475f73b99fd8b1a17a3c583efa (patch)
tree56f6e284515e7319a113025c9b1ddfcac35fc828 /activesupport
parentcaf1bfccc680510b48e058d40c2a99cae965b5cb (diff)
downloadrails-7a979b2c5735e8475f73b99fd8b1a17a3c583efa.tar.gz
rails-7a979b2c5735e8475f73b99fd8b1a17a3c583efa.tar.bz2
rails-7a979b2c5735e8475f73b99fd8b1a17a3c583efa.zip
[ci skip] BigDecimal#duplicable? returns false in 1.9.x
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/object/duplicable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/duplicable.rb b/activesupport/lib/active_support/core_ext/object/duplicable.rb
index 3d2c809c9f..c5d59128e5 100644
--- a/activesupport/lib/active_support/core_ext/object/duplicable.rb
+++ b/activesupport/lib/active_support/core_ext/object/duplicable.rb
@@ -19,7 +19,7 @@
class Object
# Can you safely dup this object?
#
- # False for +nil+, +false+, +true+, symbol, and number objects;
+ # False for +nil+, +false+, +true+, symbol, number and BigDecimal(in 1.9.x) objects;
# true otherwise.
def duplicable?
true