Sha256: 385d7f7dbacadb93b0c66ecc44606f34f9676228f88fa09df07d597999895ab6

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

module DataForge
  module File
    class RecordFileWriter

      def self.for(definition)
        CSV::CSVRecordFileWriter.new definition
      end



      # Interface definition

      attr_reader :definition, :fields, :name



      def open
      end



      def close
      end



      def write(record)
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
data_forge-0.1.1 lib/data_forge/file/record_file_writer.rb
data_forge-0.1 lib/data_forge/file/record_file_writer.rb