class Pry::Command::Help
Constants
- COMMANDS
Public Instance Methods
help_text_for_commands(name, commands)
click to toggle source
# File lib/resty/override_pry_help.rb, line 13 def help_text_for_commands(name, commands) commands.first.banner end
visible_commands()
click to toggle source
# File lib/resty/override_pry_help.rb, line 5 def visible_commands visible = {} commands.each do |key, command| visible[key] = command if COMMANDS.include?(command.options[:listing]) end visible end