aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Farrar <evanfarrar@gmail.com>2011-05-18 00:26:35 -0400
committerEvan Farrar <evanfarrar@gmail.com>2011-05-18 00:26:35 -0400
commit45faaee8746ee23e399743707ecf264159afb81a (patch)
tree9c7b2e2235f9f3869ebf76ed7dcf8adbb9bce847
parent84e541ecb41262234afbdff9096258dce77ededa (diff)
downloadrails-45faaee8746ee23e399743707ecf264159afb81a.tar.gz
rails-45faaee8746ee23e399743707ecf264159afb81a.tar.bz2
rails-45faaee8746ee23e399743707ecf264159afb81a.zip
Prevent duplicable comments from being the opening paragraph for Object docs
-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?
#