1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

added CommandSet#list_commands, convenience method for repl exploration of command sets

This commit is contained in:
John Mair 2011-05-31 00:06:55 +12:00
parent 329983354c
commit 657ae09c6a

View file

@ -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