# File lib/pry/input_completer.rb, line 214 def select_message(path, receiver, message, candidates) candidates.grep(/^#{message}/).collect { |e| case e when /^[a-zA-Z_]/ path.call(receiver + "." << e) when /^[0-9]/ when *Operators #receiver + " " << e end }.compact end