aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2009-07-11 01:11:28 +0200
committerXavier Noria <fxn@hashref.com>2009-07-11 01:11:28 +0200
commit4f59ebb1a6be7d3f589555e5d943ba3303b4efc0 (patch)
treee46779140e09b347d289873edd14a6b4b7c5bd28 /activesupport
parent9b43e6b54e41d10a09f96e6ace338326b80e1508 (diff)
downloadrails-4f59ebb1a6be7d3f589555e5d943ba3303b4efc0.tar.gz
rails-4f59ebb1a6be7d3f589555e5d943ba3303b4efc0.tar.bz2
rails-4f59ebb1a6be7d3f589555e5d943ba3303b4efc0.zip
class objects are not duplicable either
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 8f49ddfd9e..1722726ca2 100644
--- a/activesupport/lib/active_support/core_ext/object/duplicable.rb
+++ b/activesupport/lib/active_support/core_ext/object/duplicable.rb
@@ -1,6 +1,6 @@
class Object
# Can you safely .dup this object?
- # False for nil, false, true, symbols, and numbers; true otherwise.
+ # False for nil, false, true, symbols, numbers, and class objects; true otherwise.
def duplicable?
true
end