Exception: SmarterCSV::MissingKeys
- Inherits:
-
SmarterCSVException
- Object
- StandardError
- Error
- SmarterCSVException
- SmarterCSV::MissingKeys
- Defined in:
- lib/smarter_csv/errors.rb
Overview
previously known as MissingHeaders
Instance Attribute Summary collapse
-
#keys ⇒ Object
readonly
Returns the value of attribute keys.
Instance Method Summary collapse
-
#initialize(message, keys = []) ⇒ MissingKeys
constructor
A new instance of MissingKeys.
Constructor Details
#initialize(message, keys = []) ⇒ MissingKeys
Returns a new instance of MissingKeys.
22 23 24 25 |
# File 'lib/smarter_csv/errors.rb', line 22 def initialize(, keys = []) super() @keys = keys end |
Instance Attribute Details
#keys ⇒ Object (readonly)
Returns the value of attribute keys.
20 21 22 |
# File 'lib/smarter_csv/errors.rb', line 20 def keys @keys end |