Skip to content

Commit cd27e14

Browse files
committed
fix doc
1 parent b4db005 commit cd27e14

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ The `<...>` notation means the argument.
350350
* `catch <Error>`
351351
* Set breakpoint on raising `<Error>`.
352352
* `watch <expr>`
353-
* Stop the execution when the result of <expr> is changed.
353+
* Stop the execution when the result of `<expr>` is changed.
354354
* Note that this feature is super slow.
355355
* `del[ete]`
356356
* delete all breakpoints.
@@ -392,13 +392,13 @@ The `<...>` notation means the argument.
392392
### Frame control
393393

394394
* `f[rame]`
395-
* Show current frame.
395+
* Show the current frame.
396396
* `f[rame] <framenum>`
397-
* Specify frame. Evaluation are run on this frame environment.
397+
* Specify a current frame. Evaluation are run on specified frame.
398398
* `up`
399-
* Specify upper frame.
399+
* Specify the upper frame.
400400
* `down`
401-
* Specify down frame.
401+
* Specify the lower frame.
402402

403403
### Evaluate
404404

lib/debug/session.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def wait_command
330330
return :retry
331331

332332
# * `watch <expr>`
333-
# * Stop the execution when the result of <expr> is changed.
333+
# * Stop the execution when the result of `<expr>` is changed.
334334
# * Note that this feature is super slow.
335335
when 'wat', 'watch'
336336
if arg
@@ -477,19 +477,19 @@ def wait_command
477477
### Frame control
478478

479479
# * `f[rame]`
480-
# * Show current frame.
480+
# * Show the current frame.
481481
# * `f[rame] <framenum>`
482-
# * Specify frame. Evaluation are run on this frame environment.
482+
# * Specify a current frame. Evaluation are run on specified frame.
483483
when 'frame', 'f'
484484
@tc << [:frame, :set, arg]
485485

486486
# * `up`
487-
# * Specify upper frame.
487+
# * Specify the upper frame.
488488
when 'up'
489489
@tc << [:frame, :up]
490490

491491
# * `down`
492-
# * Specify down frame.
492+
# * Specify the lower frame.
493493
when 'down'
494494
@tc << [:frame, :down]
495495

0 commit comments

Comments
 (0)