Exception: CSV::MalformedCSVError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RuntimeError
|
|
Instance Chain:
self,
RuntimeError
|
|
Inherits: |
RuntimeError
|
Defined in: | lib/csv.rb |
Overview
The error thrown when the parser encounters illegal ::CSV
formatting.
Class Method Summary
- .new(message, line_number) ⇒ MalformedCSVError constructor
Instance Attribute Summary
- #line_number (also: #lineno) readonly
-
#lineno
readonly
Alias for #line_number.
Constructor Details
.new(message, line_number) ⇒ MalformedCSVError
# File 'lib/csv.rb', line 832
def initialize(, line_number) @line_number = line_number super("#{} in line #{line_number}.") end
Instance Attribute Details
#line_number (readonly) Also known as: #lineno
[ GitHub ]# File 'lib/csv.rb', line 830
attr_reader :line_number
#lineno (readonly)
Alias for #line_number.
# File 'lib/csv.rb', line 831
alias_method :lineno, :line_number