added CommandSet#list_commands, convenience method for repl exploration of command sets
This commit is contained in:
parent
329983354c
commit
657ae09c6a
|
@ -216,6 +216,11 @@ class Pry
|
|||
end
|
||||
|
||||
|
||||
# @return [Array] The list of commands provided by the command set.
|
||||
def list_commands
|
||||
commands.keys
|
||||
end
|
||||
|
||||
private
|
||||
def define_default_commands
|
||||
|
||||
|
|
Loading…
Reference in New Issue