ruby-****@sourc*****
ruby-****@sourc*****
2014年 9月 13日 (土) 02:55:50 JST
------------------------- REMOTE_ADDR = 84.113.183.242 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gdk%3A%3APixbufLoader ------------------------- @@ -55,6 +55,8 @@ --- last_write(buf) Same as write(buf). But this method call Gdk::PixbufLoader#close internally. + It could be used to, for example, embed an image as a string in a ruby file using __END__, and then using + DATA.read to the .last_write() method to load this dataset again. * buf: A String of image data. * Returns: true if the write was successful, or false if the loader cannot parse the buffer(raises an exception).