Exception: Cheepub::I18n::InterpolateError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/cheepub/i18n.rb

Overview

some codes are from Ruby’s I18n github.com/svenfuchs/i18n/

Instance Method Summary collapse

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