Exception: ScrapCbf::RowSizeError
- Defined in:
- lib/scrap_cbf/errors.rb
Overview
Raised when the scraping data from a table have the size of the Table’s header different than the Table’s rows.
Instance Method Summary collapse
-
#initialize(row_length, header_length) ⇒ RowSizeError
constructor
A new instance of RowSizeError.
Constructor Details
#initialize(row_length, header_length) ⇒ RowSizeError
Returns a new instance of RowSizeError.
37 38 39 40 41 |
# File 'lib/scrap_cbf/errors.rb', line 37 def initialize(row_length, header_length) = "row length: #{row_length} doesn't match with " \ "header length: #{header_length}" super() end |