We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
To map a xls/csv column you need to execute the column method. So, if you have the following definition:
column
class SuperheroesParser < Parxer::XlsParser column(:superhero, name: "Super Hero Name") end
you will be able to access the "Super Hero Name" for each row like this:
parser = SuperheroesParser.new result = parser.run("/some_path/superhero.xls"); #=> #<Enumerator: ...> row = result.next row.superhero #=> "Wolverine"