Parent

Methods

Class 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
25:     def initialize(message = nil)
26:       super(message || "key not found")
27:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.