Exception: Applocale::ErrorUtil::CannotOpenXlsxFile
- Inherits:
-
CommonError
- Object
- StandardError
- CommonError
- Applocale::ErrorUtil::CannotOpenXlsxFile
- Defined in:
- lib/applocale/Util/error_util.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ CannotOpenXlsxFile
constructor
A new instance of CannotOpenXlsxFile.
- #message ⇒ Object
Methods inherited from CommonError
Constructor Details
#initialize(path) ⇒ CannotOpenXlsxFile
Returns a new instance of CannotOpenXlsxFile.
68 69 70 |
# File 'lib/applocale/Util/error_util.rb', line 68 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
67 68 69 |
# File 'lib/applocale/Util/error_util.rb', line 67 def path @path end |
Instance Method Details
#message ⇒ Object
71 72 73 |
# File 'lib/applocale/Util/error_util.rb', line 71 def "Can't open xlsx file #{self.path}" end |