Method: IMW::Recordizer::StringSliceRecordizer#recordize
- Defined in:
- lib/imw/recordizer/string_slice_recordizer.rb
#recordize(line) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/imw/recordizer/string_slice_recordizer.rb', line 11 def recordize line format = schema case format when Array then slice_by_array(line, format) when Hash then slice_by_hash(line, format) end end |