Parent

Methods

Class/Module Index [+]

Quicksearch

KeyError

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

Public Class Methods

new(message = nil) click to toggle source
# File lib/i18n/core_ext/string/interpolate.rb, line 25
def initialize(message = nil)
  super(message || "key not found")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.