lib/io_streams/tabular/header.rb in iostreams-1.2.1 vs lib/io_streams/tabular/header.rb in iostreams-1.3.0
- old
+ new
@@ -107,10 +107,13 @@
row = cleanse_hash(row) if cleanse
row = columns.collect { |column| row[column] }
end
unless row.is_a?(Array)
- raise(IOStreams::Errors::TypeMismatch, "Don't know how to convert #{row.class.name} to an Array without the header columns being set.")
+ raise(
+ IOStreams::Errors::TypeMismatch,
+ "Don't know how to convert #{row.class.name} to an Array without the header columns being set."
+ )
end
row
end