Prev: ERROR: no driver for sqlite3 found (Ruby 1.9.0 + Windows
Next: Simple New Ruby Programmer Problem with $stdin.gets
From: MaggotChild on 2 Sep 2009 18:59 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 2 Sep 2009 19:16
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> |