search for: handler_for_rescu

Displaying 1 result from an estimated 1 matches for "handler_for_rescu".

Did you mean: handler_for_rescue
2007 Oct 21
7
exact exceptions in rescue_from
rescue_from stores exception class names in a hash table, and associates them with handlers. When an exception is raised there''s a name lookup, and if an entry is found its handler is invoked. In particular rescue_from does not emulate Ruby''s rescue semantics with regard to inheritance. Which is the rationale? Don''t you think taking is_a? and declaration order