class method
self.new
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
self.new(message = nil)
No documentation comment.
Parameters
-
messageopt = nil
Source
# File activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/core_ext/string/interpolate.rb, line 18
def initialize(message = nil)
super(message || "key not found")
end
Defined in activesupport/lib/active_support/vendor/i18n-0.4.1/i18n/core_ext/string/interpolate.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in KeyError