ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 2日 (月) 23:54:54 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-glib-iochannels ------------------------- @@ -52,7 +52,7 @@ GLib::IOChannel.open(filename, "r") do |ioc| # Open for reading. ioc.each { |line| puts line } # Read and print all lines - end # Automatically close. + end # Automatically close. Currently there's trouble in the "error handling" land. This time GLib::IOChannel uses the erors belonging to GLib::FileError. As I have already said unless GLib::IOChannel would offer some improvement or other benefit, it seems it is not worth the troubles it causes to us users as well as developers.