Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

class objects are not duplicable either

  • Loading branch information...
commit 4f59ebb1a6be7d3f589555e5d943ba3303b4efc0 1 parent 9b43e6b
@fxn fxn authored
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.