Sha256: f4da6e30332f7d98372fce5ad20064424832c9fc040bb146ce76669d6c39c20a
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
require 'bundler/setup' require 'array_hasher' puts "Undefined data type 'bookname'" ArrayHasher.csv_each(File.expand_path('../test.csv', __FILE__)) do |line| puts line end puts "\nDefined 'bookname' wrap with <>" ext_types = { bookname: proc { |v| "<#{v}>" } } ArrayHasher.csv_each(File.expand_path('../test.csv', __FILE__), ext_types) do |line| puts line end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
array_hasher-0.1.5 | examples/csv.rb |