Skip to content

Commit cbd6ccb

Browse files
committed
[DOC] Add missing opts argument to IO.binwrite
1 parent 06fc5c2 commit cbd6ccb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12451,7 +12451,7 @@ rb_io_s_write(int argc, VALUE *argv, VALUE io)
1245112451

1245212452
/*
1245312453
* call-seq:
12454-
* IO.binwrite(path, string, offset = 0) -> integer
12454+
* IO.binwrite(path, string, offset = 0, **opts) -> integer
1245512455
*
1245612456
* Behaves like IO.write, except that the stream is opened in binary mode
1245712457
* with ASCII-8BIT encoding.

0 commit comments

Comments
 (0)