Skip to content

Commit 74b45dc

Browse files
committed
[DOC] Use backticks instead of + in markdown mode
1 parent e07510d commit 74b45dc

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

doc/globals.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ Aliased as `$-0`.
181181

182182
### `$\\` (Output Record Separator)
183183

184-
An output record separator, initially +nil+.
184+
An output record separator, initially `nil`.
185185

186186
English - `$OUTPUT_RECORD_SEPARATOR`, `$ORS`.
187187

@@ -256,7 +256,7 @@ English - `$PROCESS_ID`, `$PID`.
256256

257257
### `$?` (Child Status)
258258

259-
Initially +nil+, otherwise the Process::Status object
259+
Initially `nil`, otherwise the Process::Status object
260260
created for the most-recently exited child process;
261261
thread-local.
262262

@@ -270,11 +270,11 @@ by Kernel#load and Kernel#require.
270270
Singleton method `$LOAD_PATH.resolve_feature_path(feature)`
271271
returns:
272272

273-
- `[:rb, _path_]`, where +path+ is the path to the Ruby file
274-
to be loaded for the given +feature+.
275-
- `[:so, _path_]`, where +path+ is the path to the shared object file
276-
to be loaded for the given +feature+.
277-
- +nil+ if there is no such +feature+ and +path+.
273+
- `[:rb, _path_]`, where `path` is the path to the Ruby file
274+
to be loaded for the given `feature`.
275+
- `[:so, _path_]`, where `path` is the path to the shared object file
276+
to be loaded for the given `feature`.
277+
- `nil` if there is no such `feature` and `path`.
278278

279279
Examples:
280280

@@ -318,23 +318,23 @@ The value returned by method ARGF.filename.
318318

319319
### `$DEBUG`
320320

321-
Initially +true+ if command-line option `-d` or `--debug` is given,
322-
otherwise initially +false+;
321+
Initially `true` if command-line option `-d` or `--debug` is given,
322+
otherwise initially `false`;
323323
may be set to either value in the running program.
324324

325-
When +true+, prints each raised exception to `$stderr`.
325+
When `true`, prints each raised exception to `$stderr`.
326326

327327
Aliased as `$-d`.
328328

329329
### `$VERBOSE`
330330

331-
Initially +true+ if command-line option `-v` or `-w` is given,
332-
otherwise initially +false+;
333-
may be set to either value, or to +nil+, in the running program.
331+
Initially `true` if command-line option `-v` or `-w` is given,
332+
otherwise initially `false`;
333+
may be set to either value, or to `nil`, in the running program.
334334

335-
When +true+, enables Ruby warnings.
335+
When `true`, enables Ruby warnings.
336336

337-
When +nil+, disables warnings, including those from Kernel#warn.
337+
When `nil`, disables warnings, including those from Kernel#warn.
338338

339339
Aliased as `$-v` and `$-w`.
340340

@@ -347,7 +347,7 @@ Whether command-line option `-a` was given; read-only.
347347
### `$-i`
348348

349349
Contains the extension given with command-line option `-i`,
350-
or +nil+ if none.
350+
or `nil` if none.
351351

352352
An alias of ARGF.inplace_mode.
353353

0 commit comments

Comments
 (0)