Method: Fileconv::Convertor#convert_line

Defined in:
lib/fileconv/base.rb

#convert_line(line, acc) ⇒ Object, ...

Note:

add the line object add all lines if this method return Array and don’t add it if this method return nil

Convert a Line

Parameters:

  • line (Object)

    the line object

  • acc (Hash)

    the accumulator for this file

Returns:

  • (Object, Array, nil)

    the converted line



110
111
112
# File 'lib/fileconv/base.rb', line 110

def convert_line(line, acc)
  line
end