W3cubDocs

/Ruby 2.4

module IO::generic_writable

Public Instance Methods

strio << obj → strio Show source

See IO#<<.

#define strio_addstr rb_io_addstr
print() → nil Show source
print(obj, ...) → nil

See IO#print.

printf(format_string [, obj, ...] ) → nil Show source

See IO#printf.

#define strio_printf rb_io_printf
puts(obj, ...) → nil Show source

See IO#puts.

#define strio_puts rb_io_puts
write_nonblock(p1, p2 = {}) Show source
static VALUE
strio_syswrite_nonblock(int argc, VALUE *argv, VALUE self)
{
    VALUE str;

    rb_scan_args(argc, argv, "10:", &str, NULL);
    return strio_syswrite(self, str);
}

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.