[DOC] Exclude 'Method' from RDoc's autolinking

This commit is contained in:
Nobuyoshi Nakada 2025-01-02 12:06:06 +09:00
parent d441d35107
commit b4ec22fe6c
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
Notes: git 2025-01-02 05:23:07 +00:00
20 changed files with 70 additions and 71 deletions

10
dir.rb
View file

@ -46,14 +46,14 @@
# The stream has a _position_, which is the index of an entry in the directory:
#
# - The initial position is zero (before the first entry).
# - \Method #tell (aliased as #pos) returns the position.
# - \Method #pos= sets the position (but ignores a value outside the stream),
# - Method #tell (aliased as #pos) returns the position.
# - Method #pos= sets the position (but ignores a value outside the stream),
# and returns the position.
# - \Method #seek is like #pos=, but returns +self+ (convenient for chaining).
# - \Method #read, if not at end-of-stream, reads the next entry and increments
# - Method #seek is like #pos=, but returns +self+ (convenient for chaining).
# - Method #read, if not at end-of-stream, reads the next entry and increments
# the position;
# if at end-of-stream, does not increment the position.
# - \Method #rewind sets the position to zero.
# - Method #rewind sets the position to zero.
#
# Examples (using the {simple file tree}[rdoc-ref:Dir@About+the+Examples]):
#