Skip to content
Browse files

Prevent duplicable comments from being the opening paragraph for Obje…

…ct docs
  • Loading branch information...
1 parent 84e541e commit 45faaee8746ee23e399743707ecf264159afb81a @evanfarrar evanfarrar committed May 18, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 activesupport/lib/active_support/core_ext/object/duplicable.rb
View
2 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?
#

0 comments on commit 45faaee

Please sign in to comment.
Something went wrong with that request. Please try again.