aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-12 19:49:04 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-12 19:49:04 -0600
commitd6bb7892665d93ee55828c0b5df6c5f5e635c15f (patch)
tree05a766dfec6280a86a9b080a95003e5ce7a7293d /activesupport
parentb4b3228566708ae67c2339e592e7698fcc2a398c (diff)
parent7a979b2c5735e8475f73b99fd8b1a17a3c583efa (diff)
downloadrails-d6bb7892665d93ee55828c0b5df6c5f5e635c15f.tar.gz
rails-d6bb7892665d93ee55828c0b5df6c5f5e635c15f.tar.bz2
rails-d6bb7892665d93ee55828c0b5df6c5f5e635c15f.zip
Merge pull request #15680 from akshay-vishnoi/doc_changes
[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