each(...)
public
Show source
/*
* See Zlib::GzipReader documentation for a description.
*/
static VALUE
rb_gzreader_each(argc, argv, obj)
int argc;
VALUE *argv;
VALUE obj;
{
VALUE str;
while (!NIL_P(str = gzreader_gets(argc, argv, obj))) {
rb_yield(str);
}
return obj;
}