aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-05-18 22:50:44 +0200
committerXavier Noria <fxn@hashref.com>2011-05-18 22:50:44 +0200
commitb13d24e5b96cf35cfaf64d4141216a30a7de9a33 (patch)
tree47356ad8bb919a141018958a469c649c3026d933 /activesupport/lib/active_support/core_ext
parentab42f9c9e31aa63b4ceca83c74486d849f2e33e7 (diff)
parent1c9a9d9bd2132534fb8b3f6bec6acdb7dcb38ba9 (diff)
downloadrails-b13d24e5b96cf35cfaf64d4141216a30a7de9a33.tar.gz
rails-b13d24e5b96cf35cfaf64d4141216a30a7de9a33.tar.bz2
rails-b13d24e5b96cf35cfaf64d4141216a30a7de9a33.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/object/duplicable.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/duplicable.rb b/activesupport/lib/active_support/core_ext/object/duplicable.rb
index 02cb5dfee7..9d044eba71 100644
--- a/activesupport/lib/active_support/core_ext/object/duplicable.rb
+++ b/activesupport/lib/active_support/core_ext/object/duplicable.rb
@@ -1,3 +1,4 @@
+#--
# Most objects are cloneable, but not all. For example you can't dup +nil+:
#
# nil.dup # => TypeError: can't dup NilClass
@@ -14,6 +15,7 @@
#
# That's why we hardcode the following cases and check duplicable? instead of
# using that rescue idiom.
+#++
class Object
# Can you safely dup this object?
#