Project

General

Profile

Bug #4790 ยป io_rdoc2.diff

rogerdpack (Roger Pack), 06/17/2011 06:35 AM

View differences:

io.c (working copy)
* be passed <i>file</i> as an argument, and the File object will
* automatically be closed when the block terminates. In this instance,
* <code>File.open</code> returns the value of the block.
* See <code>IO.new</code> for a list of values for the opt parameter.
*/
/*
......
* be passed <i>io</i> as an argument, and the IO object will
* automatically be closed when the block terminates. In this instance,
* <code>IO.open</code> returns the value of the block.
* See <code>IO.new</code> for a description of values for the opt parameter.
*
*/
......
* - "fmode:extern:intern".
* <code>extern</code> is the external encoding name for the IO.
* <code>intern</code> is the internal encoding.
* <code>fmode</code> must be combination of the directives. See
* the description of class +IO+ for a description of the directives.
* <code>fmode</code> must be a file open mode string. See
* the description of class +IO+ for a description of mode string directives.
*
* When the mode of original IO is read only, the mode cannot be changed to
* be writable. Similarly, the mode cannot be changed from write only to
......
* These mode and permission bits are platform dependent;
* on Unix systems, see <code>open(2)</code> for details.
*
* Optional _opt_ parameter is same as in <code.IO.open</code>.
* Optional _opt_ parameter is same as in <code>IO.open</code>.
*
* === Examples
*
    (1-1/1)