[DOC] Use backticks instead of + in markdown mode

This commit is contained in:
Nobuyoshi Nakada 2025-08-12 20:23:54 +09:00
parent e07510d1a3
commit 74b45dc3ee
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -181,7 +181,7 @@ Aliased as `$-0`.
### `$\\` (Output Record Separator) ### `$\\` (Output Record Separator)
An output record separator, initially +nil+. An output record separator, initially `nil`.
English - `$OUTPUT_RECORD_SEPARATOR`, `$ORS`. English - `$OUTPUT_RECORD_SEPARATOR`, `$ORS`.
@ -256,7 +256,7 @@ English - `$PROCESS_ID`, `$PID`.
### `$?` (Child Status) ### `$?` (Child Status)
Initially +nil+, otherwise the Process::Status object Initially `nil`, otherwise the Process::Status object
created for the most-recently exited child process; created for the most-recently exited child process;
thread-local. thread-local.
@ -270,11 +270,11 @@ by Kernel#load and Kernel#require.
Singleton method `$LOAD_PATH.resolve_feature_path(feature)` Singleton method `$LOAD_PATH.resolve_feature_path(feature)`
returns: returns:
- `[:rb, _path_]`, where +path+ is the path to the Ruby file - `[:rb, _path_]`, where `path` is the path to the Ruby file
to be loaded for the given +feature+. to be loaded for the given `feature`.
- `[:so, _path_]`, where +path+ is the path to the shared object file - `[:so, _path_]`, where `path` is the path to the shared object file
to be loaded for the given +feature+. to be loaded for the given `feature`.
- +nil+ if there is no such +feature+ and +path+. - `nil` if there is no such `feature` and `path`.
Examples: Examples:
@ -318,23 +318,23 @@ The value returned by method ARGF.filename.
### `$DEBUG` ### `$DEBUG`
Initially +true+ if command-line option `-d` or `--debug` is given, Initially `true` if command-line option `-d` or `--debug` is given,
otherwise initially +false+; otherwise initially `false`;
may be set to either value in the running program. may be set to either value in the running program.
When +true+, prints each raised exception to `$stderr`. When `true`, prints each raised exception to `$stderr`.
Aliased as `$-d`. Aliased as `$-d`.
### `$VERBOSE` ### `$VERBOSE`
Initially +true+ if command-line option `-v` or `-w` is given, Initially `true` if command-line option `-v` or `-w` is given,
otherwise initially +false+; otherwise initially `false`;
may be set to either value, or to +nil+, in the running program. may be set to either value, or to `nil`, in the running program.
When +true+, enables Ruby warnings. When `true`, enables Ruby warnings.
When +nil+, disables warnings, including those from Kernel#warn. When `nil`, disables warnings, including those from Kernel#warn.
Aliased as `$-v` and `$-w`. Aliased as `$-v` and `$-w`.
@ -347,7 +347,7 @@ Whether command-line option `-a` was given; read-only.
### `$-i` ### `$-i`
Contains the extension given with command-line option `-i`, Contains the extension given with command-line option `-i`,
or +nil+ if none. or `nil` if none.
An alias of ARGF.inplace_mode. An alias of ARGF.inplace_mode.