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.
Once you have defined the behavior of your parser using the DSL, you can use it:
parser = SuperheroesParser.new result = parser.run("/some_path/superhero.xls"); #=> #<Enumerator: ...> row = result.next
In parser/file context:
parser.valid_file?
parser.file_error
parser.run(file_path)
In row context:
row.idx
row.errors?
row.errors
{ column1: :error_name, column2: :error_name }
row.attribute_error?(:some_attribute_name)
row.add_attribute(:some_attribute_name)
row.publisher
column(:publisher, name: "Publisher")