Class | KeyError |
In: |
lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb
lib/active_support/vendor/i18n-0.4.1/i18n/core_ext/string/interpolate.rb |
Parent: | IndexError |
KeyError is raised by String#% when the string contains a named placeholder that is not contained in the given arguments hash. Ruby 1.9 includes and raises this exception natively. We define it to mimic Ruby 1.9‘s behaviour in Ruby 1.8.x