class KeyError

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

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

Inherits from

IndexError

Methods (defined here)

Type at least 2 characters to search.

↑↓ navigate · open · esc close