Exception: Cheepub::I18n::InterpolateError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Cheepub::I18n::InterpolateError
- Defined in:
- lib/cheepub/i18n.rb
Overview
some codes are from Ruby’s I18n github.com/svenfuchs/i18n/
Instance Method Summary collapse
-
#initialize(key, values, str) ⇒ InterpolateError
constructor
A new instance of InterpolateError.
Constructor Details
#initialize(key, values, str) ⇒ InterpolateError
Returns a new instance of InterpolateError.
10 11 12 13 |
# File 'lib/cheepub/i18n.rb', line 10 def initialize(key, values, str) @key, @values, @str = key, values, str super "missing interpolation argument #{key.inspect} in #{str.inspect} (#{values.inspect} given)" end |