diff options
author | Frederick Cheung <frederick.cheung@gmail.com> | 2008-08-21 18:23:18 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-08-21 18:40:20 +0100 |
commit | 654c41255d22b2767b943dbe970d8b24f2a1387b (patch) | |
tree | 7e3eb141b80e8365eaaf8b3886c8f65397d2401d /activesupport/lib/active_support/core_ext | |
parent | bbedb6a624a3d9eb02e0470f31cda8112df06d75 (diff) | |
download | rails-654c41255d22b2767b943dbe970d8b24f2a1387b.tar.gz rails-654c41255d22b2767b943dbe970d8b24f2a1387b.tar.bz2 rails-654c41255d22b2767b943dbe970d8b24f2a1387b.zip |
Mark Class as not being duplicable. [#829 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r-- | activesupport/lib/active_support/core_ext/duplicable.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 |