Exception: KeyError

Inherits:
IndexError show all
Defined in:
lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ KeyError

Returns a new instance of KeyError.



4
5
6
# File 'lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb', line 4

def initialize(message = nil)
  super(message || "key not found")
end