"Robert Klemme" <bob.news / gmx.net> writes:

> Btw, your first example is overly complex.  This does the same:
>
> File.open("my_file") do |fic|
>   fic.puts("bla")
> end

Actually, i took the habit to always handle exceptions myself, hence
the block begin/rescue...

Furthermore, it was a toy exemple: i like my scripts exit with
different values for different problems.
-- 
Eric Jacoboni, ne il y a 1443032789 secondes