From f02d3f9eeeacf49973d6826a345749075af96a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Silva?= Date: Sat, 12 Jun 2010 11:52:39 +0100 Subject: ruby's GC doesn't support the time method, removed support for it --- activesupport/lib/active_support/testing/performance.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/activesupport/lib/active_support/testing/performance.rb b/activesupport/lib/active_support/testing/performance.rb index c882b088ce..b7a2f368ce 100644 --- a/activesupport/lib/active_support/testing/performance.rb +++ b/activesupport/lib/active_support/testing/performance.rb @@ -403,10 +403,6 @@ begin def measure RubyProf.measure_gc_time end - elsif GC.respond_to?(:time) - def measure - GC.time - end end def format(measurement) -- cgit v1.2.3