= private = protected
gets(*args)
See IO#gets.
static VALUE strio_gets(int argc, VALUE *argv, VALUE self) { VALUE str = strio_getline(argc, argv, readable(StringIO(self))); rb_lastline_set(str); return str; }