[Source]
# File csv.rb, line 723 def initialize(str_or_writable, col_sep = ?,, row_sep = nil) @col_sep = col_sep @row_sep = row_sep @dev = str_or_writable @dev.binmode if @dev.respond_to?(:binmode) @close_on_terminate = false end
Tell this writer to close the IO when terminated (Triggered by invoking CSV::BasicWriter#close).
# File csv.rb, line 733 def close_on_terminate @close_on_terminate = true end
[Validate]