Skip to content

Commit c1be413

Browse files
committed
Update commands list in the readme
1 parent 6a9e129 commit c1be413

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,20 +114,23 @@ Help
114114
help List all available commands. Use `help <command>` to get information about a specific command.
115115
116116
IRB
117+
context Displays current configuration.
117118
exit Exit the current irb session.
118119
exit! Exit the current process.
119120
irb_load Load a Ruby file.
120121
irb_require Require a Ruby file.
121122
source Loads a given file in the current session.
122123
irb_info Show information about IRB.
123124
history Shows the input history. `-g [query]` or `-G [query]` allows you to filter the output.
125+
disable_irb Disable binding.irb.
124126
125127
Workspace
126128
cwws Show the current workspace.
127129
chws Change the current workspace to an object.
128130
workspaces Show workspaces.
129131
pushws Push an object to the workspace stack.
130132
popws Pop a workspace from the workspace stack.
133+
cd Move into the given object or leave the current context.
131134
132135
Multi-irb (DEPRECATED)
133136
irb Start a child IRB.
@@ -152,11 +155,14 @@ Misc
152155
measure `measure` enables the mode to measure processing time. `measure :off` disables it.
153156
154157
Context
155-
show_doc Enter the mode to look up RI documents.
158+
show_doc Look up documentation with RI.
156159
ls Show methods, constants, and variables.
157-
show_source Show the source code of a given method or constant.
160+
show_source Show the source code of a given method, class/module, or constant.
158161
whereami Show the source code around binding.irb again.
159162
163+
Helper methods
164+
conf Returns the current IRB context.
165+
160166
Aliases
161167
$ Alias for `show_source`
162168
@ Alias for `whereami`

0 commit comments

Comments
 (0)