Exception: SmarterCSV::DuplicateHeaders
- Inherits:
-
SmarterCSVException
- Object
- StandardError
- Error
- SmarterCSVException
- SmarterCSV::DuplicateHeaders
- Defined in:
- lib/smarter_csv/errors.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(message, headers = []) ⇒ DuplicateHeaders
constructor
A new instance of DuplicateHeaders.
Constructor Details
#initialize(message, headers = []) ⇒ DuplicateHeaders
Returns a new instance of DuplicateHeaders.
15 16 17 18 |
# File 'lib/smarter_csv/errors.rb', line 15 def initialize(, headers = []) super() @headers = headers end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
13 14 15 |
# File 'lib/smarter_csv/errors.rb', line 13 def headers @headers end |