Exception: I18n::InvalidLocaleData
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- ArgumentError
- I18n::InvalidLocaleData
- Defined in:
- lib/i18n/exceptions.rb
Instance Attribute Summary (collapse)
-
- (Object) filename
readonly
Returns the value of attribute filename.
Instance Method Summary (collapse)
-
- (InvalidLocaleData) initialize(filename, exception_message)
constructor
A new instance of InvalidLocaleData.
Constructor Details
- (InvalidLocaleData) initialize(filename, exception_message)
A new instance of InvalidLocaleData
32 33 34 35 |
# File 'lib/i18n/exceptions.rb', line 32 def initialize(filename, ) @filename, @exception_message = filename, super "can not load translations from #{filename}: #{}" end |
Instance Attribute Details
- (Object) filename (readonly)
Returns the value of attribute filename
31 32 33 |
# File 'lib/i18n/exceptions.rb', line 31 def filename @filename end |