Exception: Applocale::ErrorUtil::ParseLocalizedError::InvalidFile
- Inherits:
-
ParseLocalizedError
- Object
- StandardError
- CommonError
- ParseLocalizedError
- Applocale::ErrorUtil::ParseLocalizedError::InvalidFile
- Defined in:
- lib/applocale/Util/error_util.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
Attributes inherited from ParseLocalizedError
Instance Method Summary collapse
-
#initialize(path) ⇒ InvalidFile
constructor
A new instance of InvalidFile.
- #message ⇒ Object
Methods inherited from ParseLocalizedError
Methods inherited from CommonError
Constructor Details
#initialize(path) ⇒ InvalidFile
Returns a new instance of InvalidFile.
186 187 188 |
# File 'lib/applocale/Util/error_util.rb', line 186 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path.
185 186 187 |
# File 'lib/applocale/Util/error_util.rb', line 185 def path @path end |
Instance Method Details
#message ⇒ Object
189 190 191 |
# File 'lib/applocale/Util/error_util.rb', line 189 def "Can't open file #{self.path}" end |