Class: Teilashare::Parsers::PipeParser

Inherits:
Object
  • Object
show all
Defined in:
lib/teilashare/parsers/pipe_parser.rb

Class Method Summary collapse

Class Method Details

.parse(input) ⇒ Object



8
9
10
# File 'lib/teilashare/parsers/pipe_parser.rb', line 8

def self.parse(input)
  CSV.parse(input, headers: true, col_sep: '|')
end