Module Pry::InputCompleter
In: lib/pry/completion.rb

Implements tab completion for Readline in Pry

Methods

Constants

ReservedWords = [ "BEGIN", "END", "alias", "and", "begin", "break", "case", "class", "def", "defined", "do", "else", "elsif", "end", "ensure", "false", "for", "if", "in", "module", "next", "nil", "not", "or", "redo", "rescue", "retry", "return", "self", "super", "then", "true", "undef", "unless", "until", "when", "while", "yield" ]
Operators = [ "%", "&", "*", "**", "+", "-", "/", "<", "<<", "<=", "<=>", "==", "===", "=~", ">", ">=", ">>", "[]", "[]=", "^", "!", "!=", "!~"

Public Class methods

Return a new completion proc for use by Readline. @param [Binding] target The current binding context. @param [Array<String>] commands The array of Pry commands.

[Validate]