From: MaggotChild on
How is one supposed to know what exception (if any) a method will
raise? The docs for all of the core Ruby classes I've seen fail to
mention this.
From: Iñaki Baz Castillo on
El Jueves, 3 de Septiembre de 2009, MaggotChild escribió:
> How is one supposed to know what exception (if any) a method will
> raise? The docs for all of the core Ruby classes I've seen fail to
> mention this.

Each method should explain in the doc which exception could generate and in
which cases.


--
Iñaki Baz Castillo <ibc(a)aliax.net>