Exception: Applocale::ErrorUtil::ParseXlsxError::HeadeNotFound
- Inherits:
-
ParseError
- Object
- StandardError
- CommonError
- ParseError
- Applocale::ErrorUtil::ParseXlsxError::HeadeNotFound
- Defined in:
- lib/applocale/Util/error_util.rb
Instance Attribute Summary collapse
-
#sheetname ⇒ Object
Returns the value of attribute sheetname.
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(sheetname) ⇒ HeadeNotFound
constructor
A new instance of HeadeNotFound.
- #message ⇒ Object
Methods inherited from ParseError
Methods inherited from CommonError
Constructor Details
#initialize(sheetname) ⇒ HeadeNotFound
Returns a new instance of HeadeNotFound.
130 131 132 |
# File 'lib/applocale/Util/error_util.rb', line 130 def initialize(sheetname) @sheetname = sheetname end |
Instance Attribute Details
#sheetname ⇒ Object
Returns the value of attribute sheetname.
129 130 131 |
# File 'lib/applocale/Util/error_util.rb', line 129 def sheetname @sheetname end |
Instance Method Details
#message ⇒ Object
134 135 136 |
# File 'lib/applocale/Util/error_util.rb', line 134 def "Header not found in sheet: #{self.sheetname}" end |