Exception: Cheepub::I18n::InvalidLocaleData
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Cheepub::I18n::InvalidLocaleData
- Defined in:
- lib/cheepub/i18n.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename, exception_message) ⇒ InvalidLocaleData
constructor
A new instance of InvalidLocaleData.
Constructor Details
#initialize(filename, exception_message) ⇒ InvalidLocaleData
Returns a new instance of InvalidLocaleData.
18 19 20 21 |
# File 'lib/cheepub/i18n.rb', line 18 def initialize(filename, ) @filename, @exception_message = filename, super "can not load translations from #{filename}: #{}" end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
17 18 19 |
# File 'lib/cheepub/i18n.rb', line 17 def filename @filename end |