[DOC] Don't suppress autolinks

This commit is contained in:
BurdetteLamar 2023-08-12 17:44:38 +01:00 коммит произвёл Peter Zhu
Родитель b18462c14b
Коммит 546c5cfe4c
2 изменённых файлов: 22 добавлений и 22 удалений

22
file.c
Просмотреть файл

@ -6539,11 +6539,11 @@ const char ruby_null_device[] =
*
* == Access Modes
*
* \Methods File.new and File.open each create a \File object for a given file path.
* Methods File.new and File.open each create a \File object for a given file path.
*
* === \String Access Modes
*
* \Methods File.new and File.open each may take string argument +mode+, which:
* Methods File.new and File.open each may take string argument +mode+, which:
*
* - Begins with a 1- or 2-character
* {read/write mode}[rdoc-ref:File@Read-2FWrite+Mode].
@ -7179,7 +7179,7 @@ const char ruby_null_device[] =
*
* == \File \Constants
*
* Various constants for use in \File and \IO methods
* Various constants for use in \File and IO methods
* may be found in module File::Constants;
* an array of their names is returned by <tt>File::Constants.constants</tt>.
*
@ -7234,15 +7234,15 @@ const char ruby_null_device[] =
*
* _Times_
*
* - ::atime: Returns a \Time for the most recent access to the given file.
* - ::birthtime: Returns a \Time for the creation of the given file.
* - ::ctime: Returns a \Time for the metadata change of the given file.
* - ::mtime: Returns a \Time for the most recent data modification to
* - ::atime: Returns a Time for the most recent access to the given file.
* - ::birthtime: Returns a Time for the creation of the given file.
* - ::ctime: Returns a Time for the metadata change of the given file.
* - ::mtime: Returns a Time for the most recent data modification to
* the content of the given file.
* - #atime: Returns a \Time for the most recent access to +self+.
* - #birthtime: Returns a \Time the creation for +self+.
* - #ctime: Returns a \Time for the metadata change of +self+.
* - #mtime: Returns a \Time for the most recent data modification
* - #atime: Returns a Time for the most recent access to +self+.
* - #birthtime: Returns a Time the creation for +self+.
* - #ctime: Returns a Time for the metadata change of +self+.
* - #mtime: Returns a Time for the most recent data modification
* to the content of +self+.
*
* _Types_

22
io.c
Просмотреть файл

@ -846,7 +846,7 @@ rb_io_timeout(VALUE self)
* timeout = duration -> duration
* timeout = nil -> nil
*
* \Set the internal timeout to the specified duration or nil. The timeout
* Sets the internal timeout to the specified duration or nil. The timeout
* applies to all blocking operations where possible.
*
* When the operation performs longer than the timeout set, IO::TimeoutError
@ -8007,11 +8007,11 @@ rb_open_file(int argc, const VALUE *argv, VALUE io)
* File.open(path, mode = 'r', perm = 0666, **opts) -> file
* File.open(path, mode = 'r', perm = 0666, **opts) {|f| ... } -> object
*
* Creates a new \File object, via File.new with the given arguments.
* Creates a new File object, via File.new with the given arguments.
*
* With no block given, returns the \File object.
* With no block given, returns the File object.
*
* With a block given, calls the block with the \File object
* With a block given, calls the block with the File object
* and returns the block's value.
*
*/
@ -8799,9 +8799,9 @@ io_puts_ary(VALUE ary, VALUE out, int recur)
*
* Treatment for each object:
*
* - \String: writes the string.
* - String: writes the string.
* - Neither string nor array: writes <tt>object.to_s</tt>.
* - \Array: writes each element of the array; arrays may be nested.
* - Array: writes each element of the array; arrays may be nested.
*
* To keep these examples brief, we define this helper method:
*
@ -9460,9 +9460,9 @@ rb_io_set_encoding_by_bom(VALUE io)
* File.new(path, mode = 'r', perm = 0666, **opts) -> file
*
* Opens the file at the given +path+ according to the given +mode+;
* creates and returns a new \File object for that file.
* creates and returns a new File object for that file.
*
* The new \File object is buffered mode (or non-sync mode), unless
* The new File object is buffered mode (or non-sync mode), unless
* +filename+ is a tty.
* See IO#flush, IO#fsync, IO#fdatasync, and IO#sync=.
*
@ -14656,7 +14656,7 @@ set_LAST_READ_LINE(VALUE val, ID _x, VALUE *_y)
* ARGF is not itself a subclass of \IO.
*
* \Class StringIO provides an IO-like stream that handles a String.
* \StringIO is not itself a subclass of \IO.
* StringIO is not itself a subclass of \IO.
*
* Important objects based on \IO include:
*
@ -14674,7 +14674,7 @@ set_LAST_READ_LINE(VALUE val, ID _x, VALUE *_y)
* - Kernel#open: Returns a new \IO object connected to a given source:
* stream, file, or subprocess.
*
* Like a \File stream, an \IO stream has:
* Like a File stream, an \IO stream has:
*
* - A read/write mode, which may be read-only, write-only, or read/write;
* see {Read/Write Mode}[rdoc-ref:File@Read-2FWrite+Mode].
@ -14710,7 +14710,7 @@ set_LAST_READ_LINE(VALUE val, ID _x, VALUE *_y)
* that determine how a new stream is to be opened:
*
* - +:mode+: Stream mode.
* - +:flags+: \Integer file open flags;
* - +:flags+: Integer file open flags;
* If +mode+ is also given, the two are bitwise-ORed.
* - +:external_encoding+: External encoding for the stream.
* - +:internal_encoding+: Internal encoding for the stream.