Changeset 1261
- Timestamp:
- 02/04/08 03:29:03 (10 months ago)
- Files:
-
- ruport/branches/1.4/lib/ruport/formatter/csv.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ruport/branches/1.4/lib/ruport/formatter/csv.rb
r1255 r1261 37 37 attr_writer :csv_writer 38 38 39 def initialize 40 require 'fastercsv' 41 end 42 39 43 # Hook for setting available options using a template. See the template 40 44 # documentation for the available options and their format. … … 52 56 # 53 57 def csv_writer 54 require 'fastercsv'55 58 @csv_writer ||= options.formatter || 56 59 FCSV(output, options.format_options || {})
