Skip to content

Commit

Permalink
Correct the irb command's description
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Dec 31, 2023
1 parent 9de0ff4 commit 0f6ff9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ The `<...>` notation means the argument.
* `eval <expr>`
* Evaluate `<expr>` on the current frame.
* `irb`
* Invoke `irb` on the current frame.
* Activate and switch to `irb:rdbg` console

### Trace

Expand Down
2 changes: 1 addition & 1 deletion lib/debug/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ def register_default_command
end

# * `irb`
# * Invoke `irb` on the current frame.
# * Activate and switch to `irb:rdbg` console
register_command 'irb' do |arg|
if @ui.remote?
@ui.puts "\nIRB is not supported on the remote console."
Expand Down

0 comments on commit 0f6ff9b

Please sign in to comment.