Sha256: 0fe3fec03f18a59d736cd02f921fd741ada8652c8e3b26a13fa918c674969b7d
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
module AsciiDataTools module RecordType module Encoder module FixedLengthRecordEncoder def encode(values) values.join end end module CsvRecordEncoder def encode(values) values.join(field_with_name(:divider).value) + "\n" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ascii-data-tools-0.9 | lib/ascii-data-tools/record_type/encoder.rb |