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 authored and ko1 committed Jan 2, 2024
1 parent 6a9c75f commit ab937ac
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 ab937ac

Please sign in to comment.