# File lib/pry/command_set.rb, line 410 def complete(search, context={}) if command = find_command(search) command.new(context).complete(search) else @commands.keys.select do |key| String === key && key.start_with?(search) end.map{ |key| key + " " } end end