IndexError
Raised when the specified key is not found. It is a subclass of IndexError.
h = {"foo" => :bar} h.fetch("foo") #=> :bar h.fetch("baz") #=> KeyError: key not found: "baz"
This page was generated for Ruby 1.9.2
Ruby-doc.org is a service of James Britt and Neurogami, an avant garage application development company in Scottsdale, AZ.
Generated with the Rubydoc Rdoc Generator 0.9.3.