Method: Fileconv::CSV#post_convert_line
- Defined in:
- lib/fileconv/csv.rb
#post_convert_line(line, acc) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/fileconv/csv.rb', line 18 def post_convert_line(line, acc) return unless line if line.is_a? ::CSV::Row [line] elsif line[0].is_a? Array line else [line] end end |