examples/csv.rb in array_hasher-0.1.4 vs examples/csv.rb in array_hasher-0.1.5
- old
+ new
@@ -5,10 +5,9 @@
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}>" }}
+ext_types = { bookname: proc { |v| "<#{v}>" } }
ArrayHasher.csv_each(File.expand_path('../test.csv', __FILE__), ext_types) do |line|
puts line
end
-