From: <pet...@us...> - 2007-09-15 09:34:39
|
Revision: 13601 http://jikesrvm.svn.sourceforge.net/jikesrvm/?rev=13601&view=rev Author: peter_donald Date: 2007-09-15 02:34:38 -0700 (Sat, 15 Sep 2007) Log Message: ----------- Move requires to top of file Modified Paths: -------------- cattrack/trunk/app/models/report/performance_report_statistic_renderer.rb Modified: cattrack/trunk/app/models/report/performance_report_statistic_renderer.rb =================================================================== --- cattrack/trunk/app/models/report/performance_report_statistic_renderer.rb 2007-09-15 08:10:59 UTC (rev 13600) +++ cattrack/trunk/app/models/report/performance_report_statistic_renderer.rb 2007-09-15 09:34:38 UTC (rev 13601) @@ -10,6 +10,9 @@ # See the COPYRIGHT.txt file distributed with this work for information # regarding copyright ownership. # +require 'RMagick.rb' +require 'rvg/rvg' + class Report::PerformanceReportStatisticRenderer def initialize(test_run, statistic_key, large) @@ -144,8 +147,6 @@ end def to_image - require 'RMagick.rb' - require 'rvg/rvg' limits = get_limits(); results = get_results(); x_size = if @large then 960.0 else 240.0 end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |