Changeset 1256

Show
Ignore:
Timestamp:
02/02/08 13:21:50 (10 months ago)
Author:
sandal
Message:

More enhancements to speed thanks to Brian

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ruport/trunk/lib/ruport/formatter/csv.rb

    r1255 r1256  
    7171    # Calls the row renderer for each row in the Data::Table 
    7272    def build_table_body 
    73       render_data_by_row { |r|  
    74         r.options.format_options = options.format_options 
    75         r.options.formatter = csv_writer 
    76       } 
     73      fcsv = csv_writer 
     74      data.each { |row| fcsv << row } 
    7775    end 
    7876