diff options
author | Gonçalo Silva <goncalossilva@gmail.com> | 2011-03-26 19:12:04 +0000 |
---|---|---|
committer | Gonçalo Silva <goncalossilva@gmail.com> | 2011-03-26 19:34:59 +0000 |
commit | 84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0 (patch) | |
tree | 7ab4da8ac3ba0ccf751bd2d8f21ee787ade47f69 /activesupport/lib/active_support/testing/performance/rubinius.rb | |
parent | 3872cc4a739db7e0fb5b4a910be371c048667ca7 (diff) | |
download | rails-84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0.tar.gz rails-84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0.tar.bz2 rails-84fe2b8b4266f5ef4e3e5f2880a18b8e44a070f0.zip |
added basic structure for jruby
Diffstat (limited to 'activesupport/lib/active_support/testing/performance/rubinius.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/performance/rubinius.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/testing/performance/rubinius.rb b/activesupport/lib/active_support/testing/performance/rubinius.rb index 8f1047381b..c8813a22df 100644 --- a/activesupport/lib/active_support/testing/performance/rubinius.rb +++ b/activesupport/lib/active_support/testing/performance/rubinius.rb @@ -16,11 +16,7 @@ module ActiveSupport class Performer; end - class Profiler < Performer - def initialize(*args) - super - end - + class Profiler < Performer def run @profiler = Rubinius::Profiler::Instrumenter.new @@ -72,7 +68,6 @@ module ActiveSupport end protected - # overridden by each implementation def with_gc_stats @loopback = Rubinius::Agent.loopback GC.run(true) |