Exception: KeyError
- Defined in:
- lib/active_support/vendor/i18n-0.4.1/i18n/exceptions.rb
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ KeyError
constructor
A new instance of KeyError.
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( = nil) super( || "key not found") end |