Skip to content

Commit

Permalink
Update commands list in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Jul 6, 2024
1 parent 6a9e129 commit c1be413
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,23 @@ Help
help List all available commands. Use `help <command>` to get information about a specific command.
IRB
context Displays current configuration.
exit Exit the current irb session.
exit! Exit the current process.
irb_load Load a Ruby file.
irb_require Require a Ruby file.
source Loads a given file in the current session.
irb_info Show information about IRB.
history Shows the input history. `-g [query]` or `-G [query]` allows you to filter the output.
disable_irb Disable binding.irb.
Workspace
cwws Show the current workspace.
chws Change the current workspace to an object.
workspaces Show workspaces.
pushws Push an object to the workspace stack.
popws Pop a workspace from the workspace stack.
cd Move into the given object or leave the current context.
Multi-irb (DEPRECATED)
irb Start a child IRB.
Expand All @@ -152,11 +155,14 @@ Misc
measure `measure` enables the mode to measure processing time. `measure :off` disables it.
Context
show_doc Enter the mode to look up RI documents.
show_doc Look up documentation with RI.
ls Show methods, constants, and variables.
show_source Show the source code of a given method or constant.
show_source Show the source code of a given method, class/module, or constant.
whereami Show the source code around binding.irb again.
Helper methods
conf Returns the current IRB context.
Aliases
$ Alias for `show_source`
@ Alias for `whereami`
Expand Down

0 comments on commit c1be413

Please sign in to comment.