Ruby 2.4参考手册
IO
IO::generic_writable
公共实例方法
strio << obj → strio Show source
See IO#<<.
#define strio_addstr rb_io_addstr
print() → nil Show source
print(obj, ...) → nil
See IO#print.
#define strio_print rb_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 是一种面向对象、命令式、函数式、动态的通用编程语言,是世界上最优美而巧妙的语言。
主页 | https://www.ruby-lang.org/ |
源码 | https://github.com/ruby/ruby |
版本 | 2.4 |
发布版本 | 2.4.1 |