Changeset 1285
- Timestamp:
- 03/06/08 15:57:58 (9 months ago)
- Files:
-
- ruport/trunk/lib/ruport.rb (modified) (1 diff)
- ruport/trunk/lib/ruport/formatter/csv.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ruport/trunk/lib/ruport.rb
r1238 r1285 10 10 # See LICENSE and COPYING for details 11 11 # 12 13 14 if RUBY_VERSION > "1.9" 15 require "csv" 16 unless defined? FCSV 17 class Object 18 FCSV = CSV 19 alias_method :FCSV, :CSV 20 end 21 end 22 end 23 12 24 13 25 module Ruport #:nodoc:# 14 26 15 VERSION = "1.5.0" 16 27 VERSION = "1.5.0" 28 17 29 class FormatterError < RuntimeError #:nodoc: 18 30 end ruport/trunk/lib/ruport/formatter/csv.rb
r1284 r1285 31 31 # 32 32 class Formatter::CSV < Formatter 33 34 if RUBY_VERSION > "1.9"35 require "csv"36 unless defined? FCSV37 FCSV = CSV38 alias_method :FCSV, :CSV39 end40 end41 33 42 34 renders :csv, :for => [ Renderer::Row, Renderer::Table,
