class KeyError
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
Public Class Methods
new(message = nil)
click to toggle source
Calls superclass method
# File lib/i18n/core_ext/string/interpolate.rb, line 25 def initialize(message = nil) super(message || "key not found") end