Module: IO::generic_writable (Ruby 2.3.4)

In Files

  • stringio/stringio.c

Class/Module Index [+]

Quicksearch

IO::generic_writable

Public Instance Methods

strio << obj → strio

See IO#<<.

 
               #define strio_addstr rb_io_addstr
            
printf(format_string [, obj, ...] ) → nil

See IO#printf.

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

See IO#puts.

 
               #define strio_puts rb_io_puts
            
write_nonblock(p1, p2 = {})
 
               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);
}