# File lib/pry/default_commands/introspection.rb, line 55 def attempt rank = 0 begin yield(rank) rescue Pry::CommandError raise if rank > (module_object.number_of_candidates - 1) rank += 1 retry end end