class KeyError
Overview
Raised when the specified key is not found.
h = {"foo" => "bar"}
h["baz"] # raises KeyError (Missing hash key: "baz")
Raised when the specified key is not found.
h = {"foo" => "bar"}
h["baz"] # raises KeyError (Missing hash key: "baz")
Object