From 654c41255d22b2767b943dbe970d8b24f2a1387b Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Thu, 21 Aug 2008 18:23:18 +0100 Subject: Mark Class as not being duplicable. [#829 state:resolved] Signed-off-by: Pratik Naik --- activesupport/lib/active_support/core_ext/duplicable.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activesupport/lib/active_support/core_ext') diff --git a/activesupport/lib/active_support/core_ext/duplicable.rb b/activesupport/lib/active_support/core_ext/duplicable.rb index adbbfd8c60..8f49ddfd9e 100644 --- a/activesupport/lib/active_support/core_ext/duplicable.rb +++ b/activesupport/lib/active_support/core_ext/duplicable.rb @@ -35,3 +35,9 @@ class Numeric #:nodoc: false end end + +class Class #:nodoc: + def duplicable? + false + end +end -- cgit v1.2.3