diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2010-06-12 11:52:39 +0100 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-06-17 19:18:52 -0700 |
commit | f02d3f9eeeacf49973d6826a345749075af96a69 (patch) | |
tree | 867a497201e49b2a91a6a74f9ea2b63580217d0f /activesupport/lib/active_support/testing | |
parent | 175164397bfa9c5ac1c96e4c4efd4bed8d5e9bcd (diff) | |
download | rails-f02d3f9eeeacf49973d6826a345749075af96a69.tar.gz rails-f02d3f9eeeacf49973d6826a345749075af96a69.tar.bz2 rails-f02d3f9eeeacf49973d6826a345749075af96a69.zip |
ruby's GC doesn't support the time method, removed support for it
Diffstat (limited to 'activesupport/lib/active_support/testing')
-rw-r--r-- | activesupport/lib/active_support/testing/performance.rb | 4 |
1 files changed, 0 insertions, 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) |