sorbet/rbi/gems/pry.rbi
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems
# typed: true
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/pry/all/pry.rbi
#
# pry-0.12.2
class Pry
def add_sticky_local(name, &block); end
def backtrace; end
def backtrace=(arg0); end
def binding_stack; end
def binding_stack=(arg0); end
def color; end
def color=(value); end
def command_state; end
def commands; end
def commands=(value); end
def complete(str); end
def config; end
def current_binding; end
def current_context; end
def custom_completions; end
def custom_completions=(arg0); end
def editor; end
def editor=(value); end
def ensure_correct_encoding!(val); end
def eval(line, options = nil); end
def eval_string; end
def eval_string=(arg0); end
def evaluate_ruby(code); end
def exception_handler; end
def exception_handler=(value); end
def exec_hook(name, *args, &block); end
def exit_value; end
def extra_sticky_locals; end
def extra_sticky_locals=(value); end
def generate_prompt(prompt_proc, conf); end
def handle_line(line, options); end
def hooks; end
def hooks=(value); end
def initialize(options = nil); end
def inject_local(name, value, b); end
def inject_sticky_locals!; end
def input; end
def input=(value); end
def input_array; end
def input_ring; end
def last_dir; end
def last_dir=(arg0); end
def last_exception; end
def last_exception=(e); end
def last_file; end
def last_file=(arg0); end
def last_result; end
def last_result=(arg0); end
def last_result_is_exception?; end
def memory_size; end
def memory_size=(size); end
def output; end
def output=(value); end
def output_array; end
def output_ring; end
def pager; end
def pager=(value); end
def pop_prompt; end
def print; end
def print=(value); end
def process_command(val); end
def process_command_safely(val); end
def prompt; end
def prompt=(new_prompt); end
def prompt_stack; end
def push_binding(object); end
def push_initial_binding(target = nil); end
def push_prompt(new_prompt); end
def quiet?; end
def raise_up!(*args); end
def raise_up(*args); end
def raise_up_common(force, *args); end
def repl(target = nil); end
def reset_eval_string; end
def run_command(val); end
def select_prompt; end
def self.Code(obj); end
def self.Method(obj); end
def self.WrappedModule(obj); end
def self.auto_resize!; end
def self.binding_for(target); end
def self.cli; end
def self.cli=(arg0); end
def self.color; end
def self.color=(value); end
def self.commands; end
def self.commands=(value); end
def self.config; end
def self.config=(arg0); end
def self.configure; end
def self.critical_section; end
def self.current; end
def self.current_line; end
def self.current_line=(arg0); end
def self.custom_completions; end
def self.custom_completions=(arg0); end
def self.default_editor_for_platform; end
def self.editor; end
def self.editor=(value); end
def self.eval_path; end
def self.eval_path=(arg0); end
def self.exception_handler; end
def self.exception_handler=(value); end
def self.extra_sticky_locals; end
def self.extra_sticky_locals=(value); end
def self.final_session_setup; end
def self.history; end
def self.history=(arg0); end
def self.hooks; end
def self.hooks=(value); end
def self.in_critical_section?; end
def self.init; end
def self.initial_session?; end
def self.initial_session_setup; end
def self.input; end
def self.input=(value); end
def self.last_internal_error; end
def self.last_internal_error=(arg0); end
def self.lazy(&block); end
def self.line_buffer; end
def self.line_buffer=(arg0); end
def self.load_file_at_toplevel(file); end
def self.load_file_through_repl(file_name); end
def self.load_history; end
def self.load_plugins(*args, &block); end
def self.load_rc_files; end
def self.load_requires; end
def self.load_traps; end
def self.load_win32console; end
def self.locate_plugins(*args, &block); end
def self.main; end
def self.memory_size; end
def self.memory_size=(value); end
def self.output; end
def self.output=(value); end
def self.pager; end
def self.pager=(value); end
def self.plugins(*args, &block); end
def self.print; end
def self.print=(value); end
def self.prompt; end
def self.prompt=(value); end
def self.quiet; end
def self.quiet=(arg0); end
def self.rc_files_to_load; end
def self.real_path_to(file); end
def self.reset_defaults; end
def self.run_command(command_string, options = nil); end
def self.start(target = nil, options = nil); end
def self.toplevel_binding; end
def self.toplevel_binding=(binding); end
def self.view_clip(obj, options = nil); end
def set_last_result(result, code = nil); end
def should_print?; end
def show_result(result); end
def sticky_locals; end
def suppress_output; end
def suppress_output=(arg0); end
def update_input_history(code); end
extend Pry::Config::Convenience
end
module Pry::Forwardable
def def_private_delegators(target, *private_delegates); end
include Forwardable
end
class Pry::InputLock
def __with_ownership(&block); end
def enter_interruptible_region; end
def initialize; end
def interruptible_region(&block); end
def leave_interruptible_region; end
def self.for(input); end
def self.global_lock; end
def self.global_lock=(arg0); end
def self.input_locks; end
def self.input_locks=(arg0); end
def with_ownership(&block); end
end
class Pry::InputLock::Interrupt < Exception
end
module Pry::RescuableException
def self.===(exception); end
end
module Pry::TooSafeException
def self.===(exception); end
end
module Pry::UserError
end
module Pry::FrozenObjectException
def self.===(exception); end
end
class Pry::CommandError < StandardError
end
class Pry::MethodNotFound < Pry::CommandError
end
class Pry::ObsoleteError < StandardError
end
module Pry::ExtendCommandBundle
end
module Pry::Platform
def jruby?; end
def jruby_19?; end
def linux?; end
def mac_osx?; end
def mri?; end
def mri_19?; end
def mri_2?; end
def windows?; end
def windows_ansi?; end
extend Pry::Platform
end
module Pry::Helpers
def self.tablify(things, line_length, config = nil); end
def self.tablify_or_one_line(heading, things, config = nil); end
def self.tablify_to_screen_width(things, options, config = nil); end
end
module Pry::Helpers::BaseHelpers
def colorize_code(code); end
def command_dependencies_met?(options); end
def find_command(name, set = nil); end
def heading(text); end
def highlight(string, regexp, highlight_color = nil); end
def jruby?; end
def jruby_19?; end
def linux?; end
def mac_osx?; end
def mri?; end
def mri_19?; end
def mri_2?; end
def not_a_real_file?(file); end
def safe_send(obj, method, *args, &block); end
def silence_warnings; end
def stagger_output(text, _out = nil); end
def use_ansi_codes?; end
def windows?; end
def windows_ansi?; end
extend Pry::Helpers::BaseHelpers
end
class Pry::Hooks
def add_hook(event_name, hook_name, callable = nil, &block); end
def clear_event_hooks(event_name); end
def delete_hook(event_name, hook_name); end
def errors; end
def exec_hook(event_name, *args, &block); end
def get_hook(event_name, hook_name); end
def get_hooks(event_name); end
def hook_count(event_name); end
def hook_exists?(event_name, hook_name); end
def hooks; end
def initialize; end
def initialize_copy(_orig); end
def merge!(other); end
def merge(other); end
end
class Pry::Slop
def [](key); end
def add_callback(label, &block); end
def autocreate(items, index); end
def banner(banner = nil); end
def banner=(banner); end
def build_option(objects, &block); end
def clean(object); end
def command(command, options = nil, &block); end
def commands_to_help; end
def config; end
def description(desc = nil); end
def description=(desc); end
def each(&block); end
def execute_multiple_switches(option, argument, index); end
def execute_option(option, argument, index, item = nil); end
def extract_long_flag(objects, config); end
def extract_option(flag); end
def extract_short_flag(objects, config); end
def fetch_command(command); end
def fetch_option(key); end
def get(key); end
def help; end
def initialize(config = nil, &block); end
def method_missing(method, *args, &block); end
def missing; end
def on(*objects, &block); end
def opt(*objects, &block); end
def option(*objects, &block); end
def options; end
def parse!(items = nil, &block); end
def parse(items = nil, &block); end
def present?(*keys); end
def process_item(items, index, &block); end
def respond_to_missing?(method_name, include_all = nil); end
def run(callable = nil, &block); end
def self.optspec(string, config = nil); end
def self.parse!(items = nil, config = nil, &block); end
def self.parse(items = nil, config = nil, &block); end
def separator(text); end
def strict?; end
def to_h(include_commands = nil); end
def to_hash(include_commands = nil); end
def to_s; end
include Enumerable
end
class Pry::Slop::Option
def accepts_optional_argument?; end
def argument?; end
def argument_in_value; end
def argument_in_value=(arg0); end
def as?; end
def autocreated?; end
def call(*objects); end
def callback?; end
def config; end
def count; end
def count=(arg0); end
def default?; end
def delimiter?; end
def description; end
def expects_argument?; end
def help; end
def initialize(slop, short, long, description, config = nil, &block); end
def inspect; end
def key; end
def limit?; end
def long; end
def match?; end
def optional?; end
def optional_argument?; end
def required?; end
def short; end
def tail?; end
def to_s; end
def types; end
def value; end
def value=(new_value); end
def value_to_float(value); end
def value_to_integer(value); end
def value_to_range(value); end
end
class Pry::Slop::Commands
def [](key); end
def arguments; end
def banner(banner = nil); end
def banner=(arg0); end
def commands; end
def config; end
def default(config = nil, &block); end
def each(&block); end
def execute_arguments!(items); end
def execute_global_opts!(items); end
def get(key); end
def global(config = nil, &block); end
def help; end
def initialize(config = nil, &block); end
def inspect; end
def on(command, config = nil, &block); end
def parse!(items = nil); end
def parse(items = nil); end
def present?(key); end
def to_hash; end
def to_s; end
include Enumerable
end
class Pry::Slop::Error < StandardError
end
class Pry::Slop::MissingArgumentError < Pry::Slop::Error
end
class Pry::Slop::MissingOptionError < Pry::Slop::Error
end
class Pry::Slop::InvalidArgumentError < Pry::Slop::Error
end
class Pry::Slop::InvalidOptionError < Pry::Slop::Error
end
class Pry::Slop::InvalidCommandError < Pry::Slop::Error
end
class Pry::REPL
def calculate_overhang(current_prompt, original_val, indented_val); end
def coolline_available?; end
def epilogue; end
def handle_read_errors; end
def initialize(pry, options = nil); end
def input(*args, &block); end
def input_readline(*args); end
def output(*args, &block); end
def piping?; end
def prologue; end
def pry; end
def pry=(arg0); end
def read; end
def read_line(current_prompt); end
def readline_available?; end
def repl; end
def self.start(options); end
def set_readline_output; end
def start; end
extend Pry::Forwardable
end
class Pry::Code
def <<(line, lineno = nil); end
def ==(other); end
def after(lineno, lines = nil); end
def alter(&block); end
def around(lineno, lines = nil); end
def before(lineno, lines = nil); end
def between(start_line, end_line = nil); end
def code_type; end
def code_type=(arg0); end
def comment_describing(line_number); end
def expression_at(line_number, consume = nil); end
def grep(pattern); end
def highlighted; end
def initialize(lines = nil, start_line = nil, code_type = nil); end
def inspect; end
def length; end
def max_lineno_width; end
def method_missing(name, *args, &block); end
def nesting_at(line_number); end
def print_to_output(output, color = nil); end
def push(line, lineno = nil); end
def raw; end
def respond_to_missing?(name, include_all = nil); end
def select(&block); end
def self.from_file(filename, code_type = nil); end
def self.from_method(meth, start_line = nil); end
def self.from_module(mod, candidate_rank = nil, start_line = nil); end
def take_lines(start_line, num_lines); end
def to_s; end
def with_indentation(spaces = nil); end
def with_line_numbers(y_n = nil); end
def with_marker(lineno = nil); end
end
class Pry::Code::LOC
def ==(other); end
def add_line_number(max_width = nil, color = nil); end
def add_marker(marker_lineno); end
def colorize(code_type); end
def dup; end
def handle_multiline_entries_from_edit_command(line, max_width); end
def indent(distance); end
def initialize(line, lineno); end
def line; end
def lineno; end
def tuple; end
end
class Pry::Code::CodeRange
def end_line; end
def find_end_index(lines); end
def find_start_index(lines); end
def force_set_end_line; end
def indices(lines); end
def indices_range(lines); end
def initialize(start_line, end_line = nil); end
def set_end_line_from_range; end
def start_line; end
end
class Pry::CodeFile
def abs_path; end
def code; end
def code_path; end
def code_type; end
def from_load_path; end
def from_pry_init_pwd; end
def from_pwd; end
def initialize(filename, code_type = nil); end
def readable?(path); end
def type_from_filename(filename, default = nil); end
end
class Pry::Ring
def <<(value); end
def [](index); end
def clear; end
def count; end
def initialize(max_size); end
def max_size; end
def size; end
def to_a; end
end
module Pry::Helpers::OptionsHelpers
def method_object; end
def method_options(opt); end
def self.method_object; end
def self.method_options(opt); end
end
module Pry::Helpers::CommandHelpers
def absolute_index_number(line_number, array_length); end
def absolute_index_range(range_or_number, array_length); end
def command_error(message, omit_help, klass = nil); end
def get_method_or_raise(name, target, opts = nil, omit_help = nil); end
def internal_binding?(target); end
def one_index_number(line_number); end
def one_index_range(range); end
def one_index_range_or_number(range_or_number); end
def restrict_to_lines(content, lines); end
def self.absolute_index_number(line_number, array_length); end
def self.absolute_index_range(range_or_number, array_length); end
def self.command_error(message, omit_help, klass = nil); end
def self.get_method_or_raise(name, target, opts = nil, omit_help = nil); end
def self.internal_binding?(target); end
def self.one_index_number(line_number); end
def self.one_index_range(range); end
def self.one_index_range_or_number(range_or_number); end
def self.restrict_to_lines(content, lines); end
def self.set_file_and_dir_locals(file_name, _pry_ = nil, target = nil); end
def self.temp_file(ext = nil); end
def self.unindent(text, left_padding = nil); end
def set_file_and_dir_locals(file_name, _pry_ = nil, target = nil); end
def temp_file(ext = nil); end
def unindent(text, left_padding = nil); end
include Pry::Helpers::OptionsHelpers
end
module Pry::Helpers::Text
def black(text); end
def black_on_black(text); end
def black_on_blue(text); end
def black_on_cyan(text); end
def black_on_green(text); end
def black_on_magenta(text); end
def black_on_purple(text); end
def black_on_red(text); end
def black_on_white(text); end
def black_on_yellow(text); end
def blue(text); end
def blue_on_black(text); end
def blue_on_blue(text); end
def blue_on_cyan(text); end
def blue_on_green(text); end
def blue_on_magenta(text); end
def blue_on_purple(text); end
def blue_on_red(text); end
def blue_on_white(text); end
def blue_on_yellow(text); end
def bold(text); end
def bright_black(text); end
def bright_black_on_black(text); end
def bright_black_on_blue(text); end
def bright_black_on_cyan(text); end
def bright_black_on_green(text); end
def bright_black_on_magenta(text); end
def bright_black_on_purple(text); end
def bright_black_on_red(text); end
def bright_black_on_white(text); end
def bright_black_on_yellow(text); end
def bright_blue(text); end
def bright_blue_on_black(text); end
def bright_blue_on_blue(text); end
def bright_blue_on_cyan(text); end
def bright_blue_on_green(text); end
def bright_blue_on_magenta(text); end
def bright_blue_on_purple(text); end
def bright_blue_on_red(text); end
def bright_blue_on_white(text); end
def bright_blue_on_yellow(text); end
def bright_cyan(text); end
def bright_cyan_on_black(text); end
def bright_cyan_on_blue(text); end
def bright_cyan_on_cyan(text); end
def bright_cyan_on_green(text); end
def bright_cyan_on_magenta(text); end
def bright_cyan_on_purple(text); end
def bright_cyan_on_red(text); end
def bright_cyan_on_white(text); end
def bright_cyan_on_yellow(text); end
def bright_green(text); end
def bright_green_on_black(text); end
def bright_green_on_blue(text); end
def bright_green_on_cyan(text); end
def bright_green_on_green(text); end
def bright_green_on_magenta(text); end
def bright_green_on_purple(text); end
def bright_green_on_red(text); end
def bright_green_on_white(text); end
def bright_green_on_yellow(text); end
def bright_magenta(text); end
def bright_magenta_on_black(text); end
def bright_magenta_on_blue(text); end
def bright_magenta_on_cyan(text); end
def bright_magenta_on_green(text); end
def bright_magenta_on_magenta(text); end
def bright_magenta_on_purple(text); end
def bright_magenta_on_red(text); end
def bright_magenta_on_white(text); end
def bright_magenta_on_yellow(text); end
def bright_purple(text); end
def bright_purple_on_black(text); end
def bright_purple_on_blue(text); end
def bright_purple_on_cyan(text); end
def bright_purple_on_green(text); end
def bright_purple_on_magenta(text); end
def bright_purple_on_purple(text); end
def bright_purple_on_red(text); end
def bright_purple_on_white(text); end
def bright_purple_on_yellow(text); end
def bright_red(text); end
def bright_red_on_black(text); end
def bright_red_on_blue(text); end
def bright_red_on_cyan(text); end
def bright_red_on_green(text); end
def bright_red_on_magenta(text); end
def bright_red_on_purple(text); end
def bright_red_on_red(text); end
def bright_red_on_white(text); end
def bright_red_on_yellow(text); end
def bright_white(text); end
def bright_white_on_black(text); end
def bright_white_on_blue(text); end
def bright_white_on_cyan(text); end
def bright_white_on_green(text); end
def bright_white_on_magenta(text); end
def bright_white_on_purple(text); end
def bright_white_on_red(text); end
def bright_white_on_white(text); end
def bright_white_on_yellow(text); end
def bright_yellow(text); end
def bright_yellow_on_black(text); end
def bright_yellow_on_blue(text); end
def bright_yellow_on_cyan(text); end
def bright_yellow_on_green(text); end
def bright_yellow_on_magenta(text); end
def bright_yellow_on_purple(text); end
def bright_yellow_on_red(text); end
def bright_yellow_on_white(text); end
def bright_yellow_on_yellow(text); end
def cyan(text); end
def cyan_on_black(text); end
def cyan_on_blue(text); end
def cyan_on_cyan(text); end
def cyan_on_green(text); end
def cyan_on_magenta(text); end
def cyan_on_purple(text); end
def cyan_on_red(text); end
def cyan_on_white(text); end
def cyan_on_yellow(text); end
def default(text); end
def green(text); end
def green_on_black(text); end
def green_on_blue(text); end
def green_on_cyan(text); end
def green_on_green(text); end
def green_on_magenta(text); end
def green_on_purple(text); end
def green_on_red(text); end
def green_on_white(text); end
def green_on_yellow(text); end
def indent(text, chars); end
def magenta(text); end
def magenta_on_black(text); end
def magenta_on_blue(text); end
def magenta_on_cyan(text); end
def magenta_on_green(text); end
def magenta_on_magenta(text); end
def magenta_on_purple(text); end
def magenta_on_red(text); end
def magenta_on_white(text); end
def magenta_on_yellow(text); end
def no_color; end
def no_pager; end
def purple(text); end
def purple_on_black(text); end
def purple_on_blue(text); end
def purple_on_cyan(text); end
def purple_on_green(text); end
def purple_on_magenta(text); end
def purple_on_purple(text); end
def purple_on_red(text); end
def purple_on_white(text); end
def purple_on_yellow(text); end
def red(text); end
def red_on_black(text); end
def red_on_blue(text); end
def red_on_cyan(text); end
def red_on_green(text); end
def red_on_magenta(text); end
def red_on_purple(text); end
def red_on_red(text); end
def red_on_white(text); end
def red_on_yellow(text); end
def strip_color(text); end
def white(text); end
def white_on_black(text); end
def white_on_blue(text); end
def white_on_cyan(text); end
def white_on_green(text); end
def white_on_magenta(text); end
def white_on_purple(text); end
def white_on_red(text); end
def white_on_white(text); end
def white_on_yellow(text); end
def with_line_numbers(text, offset, color = nil); end
def yellow(text); end
def yellow_on_black(text); end
def yellow_on_blue(text); end
def yellow_on_cyan(text); end
def yellow_on_green(text); end
def yellow_on_magenta(text); end
def yellow_on_purple(text); end
def yellow_on_red(text); end
def yellow_on_white(text); end
def yellow_on_yellow(text); end
extend Pry::Helpers::Text
end
class Pry::Helpers::Table
def ==(other); end
def _max_width(things); end
def _rebuild_colorless_cache; end
def _recall_color_for(thing); end
def _recolumn; end
def column_count; end
def column_count=(n); end
def columns; end
def fits_on_line?(line_length); end
def initialize(items, args, config = nil); end
def items; end
def items=(items); end
def rows_to_s(style = nil); end
def to_a; end
def to_s; end
end
module Pry::Helpers::Platform
def self.jruby?; end
def self.jruby_19?; end
def self.linux?; end
def self.mac_osx?; end
def self.mri?; end
def self.mri_19?; end
def self.mri_2?; end
def self.windows?; end
def self.windows_ansi?; end
end
class Pry::CodeObject
def _pry_; end
def _pry_=(arg0); end
def command_lookup; end
def default_lookup; end
def empty_lookup; end
def initialize(str, _pry_, options = nil); end
def looks_like_an_instance_method?(str); end
def lookup_super(obj, super_level); end
def method_or_class_lookup; end
def safe_to_evaluate?(str); end
def self.lookup(str, _pry_, options = nil); end
def sourcable_object?(obj); end
def str; end
def str=(arg0); end
def super_level; end
def super_level=(arg0); end
def target; end
def target=(arg0); end
def target_self; end
include Pry::Helpers::CommandHelpers
end
module Pry::CodeObject::Helpers
def c_method?; end
def c_module?; end
def command?; end
def module_with_yard_docs?; end
def real_method_object?; end
end
module Pry::Helpers::DocumentationHelpers
def get_comment_content(comment); end
def process_comment_markup(comment); end
def process_rdoc(comment); end
def process_yardoc(comment); end
def process_yardoc_tag(comment, tag); end
def self.get_comment_content(comment); end
def self.process_comment_markup(comment); end
def self.process_rdoc(comment); end
def self.process_yardoc(comment); end
def self.process_yardoc_tag(comment, tag); end
def self.strip_comments_from_c_code(code); end
def self.strip_leading_whitespace(text); end
def strip_comments_from_c_code(code); end
def strip_leading_whitespace(text); end
end
class Pry::Method
def ==(obj); end
def alias?; end
def aliases; end
def bound_method?; end
def c_source; end
def comment; end
def doc; end
def dynamically_defined?; end
def initialize(method, known_info = nil); end
def is_a?(klass); end
def kind_of?(klass); end
def method_missing(method_name, *args, &block); end
def method_name_from_first_line(first_ln); end
def name; end
def name_with_owner; end
def original_name; end
def pry_doc_info; end
def pry_method?; end
def redefine(source); end
def respond_to?(method_name, include_all = nil); end
def ruby_source; end
def self.all_from_class(klass, include_super = nil); end
def self.all_from_common(obj, _method_type = nil, include_super = nil); end
def self.all_from_obj(obj, include_super = nil); end
def self.from_binding(b); end
def self.from_class(klass, name, target = nil); end
def self.from_module(klass, name, target = nil); end
def self.from_obj(obj, name, target = nil); end
def self.from_str(name, target = nil, options = nil); end
def self.instance_method_definition?(name, definition_line); end
def self.instance_resolution_order(klass); end
def self.lookup_method_via_binding(obj, method_name, method_type, target = nil); end
def self.method_definition?(name, definition_line); end
def self.resolution_order(obj); end
def self.singleton_class_of(obj); end
def self.singleton_class_resolution_order(klass); end
def self.singleton_method_definition?(name, definition_line); end
def signature; end
def singleton_method?; end
def source; end
def source?; end
def source_file; end
def source_line; end
def source_range; end
def source_type; end
def super(times = nil); end
def super_using_ancestors(ancestors, times = nil); end
def unbound_method?; end
def undefined?; end
def visibility; end
def wrapped; end
def wrapped_owner; end
extend Pry::Helpers::BaseHelpers
include Pry::CodeObject::Helpers
include Pry::Helpers::BaseHelpers
include Pry::Helpers::DocumentationHelpers
end
class Pry::Method::WeirdMethodLocator
def all_methods_for(obj); end
def expanded_source_location(sl); end
def find_method_in_superclass; end
def find_renamed_method; end
def get_method; end
def index_to_line_number(index); end
def initialize(method, target); end
def lines_for_file(file); end
def lost_method?; end
def method; end
def method=(arg0); end
def normal_method?(method); end
def pry_file?; end
def renamed_method_source_location; end
def self.normal_method?(method, b); end
def self.weird_method?(method, b); end
def skip_superclass_search?; end
def target; end
def target=(arg0); end
def target_file; end
def target_line; end
def target_self; end
def valid_file?(file); end
end
class Pry::Method::Disowned < Pry::Method
def initialize(receiver, method_name); end
def method_missing(meth_name, *args, &block); end
def name; end
def owner; end
def receiver; end
def source?; end
def undefined?; end
end
class Pry::Method::Patcher
def cache_key; end
def definition_for_owner(line); end
def initialize(method); end
def method; end
def method=(arg0); end
def patch_in_ram(source); end
def redefine(source); end
def self.code_for(filename); end
def with_method_transaction; end
def wrap(source); end
def wrap_for_nesting(source); end
def wrap_for_owner(source); end
end
class Pry::WrappedModule
def all_methods_for(mod); end
def all_relevant_methods_for(mod); end
def all_source_locations_by_popularity; end
def candidate(rank); end
def candidates; end
def class?; end
def constants(inherit = nil); end
def doc; end
def file; end
def initialize(mod); end
def line; end
def lines_for_file(file); end
def method_candidates; end
def method_defined_by_forwardable_module?(method); end
def method_missing(method_name, *args, &block); end
def method_prefix; end
def module?; end
def nested_module?(parent, name); end
def nonblank_name; end
def number_of_candidates; end
def primary_candidate; end
def respond_to?(method_name, include_all = nil); end
def self.from_str(mod_name, target = nil); end
def self.safe_to_evaluate?(str, target); end
def singleton_class?; end
def singleton_instance; end
def source; end
def source_file; end
def source_line; end
def source_location; end
def super(times = nil); end
def wrapped; end
def yard_doc; end
def yard_docs?; end
def yard_file; end
def yard_line; end
include Pry::CodeObject::Helpers
include Pry::Helpers::BaseHelpers
end
class Pry::WrappedModule::Candidate
def class?(*args, &block); end
def class_regexes; end
def doc; end
def file; end
def first_line_of_module_definition(file, line); end
def first_method_source_location; end
def initialize(wrapper, rank); end
def last_method_source_location; end
def line; end
def lines_for_file(*a, &b); end
def method_candidates(*a, &b); end
def module?(*args, &block); end
def name(*a, &b); end
def nonblank_name(*args, &block); end
def number_of_candidates(*args, &block); end
def number_of_lines_in_first_chunk; end
def source; end
def source_file; end
def source_line; end
def source_location; end
def wrapped(*args, &block); end
def yard_docs?(*a, &b); end
extend Pry::Forwardable
include Pry::CodeObject::Helpers
include Pry::Helpers::DocumentationHelpers
end
class Pry::History
def <<(line); end
def clear; end
def clear_readline; end
def clearer; end
def clearer=(arg0); end
def filter(history); end
def history_file; end
def history_file_path; end
def history_line_count; end
def initialize(options = nil); end
def invalid_readline_line?(line); end
def load; end
def loader; end
def loader=(arg0); end
def original_lines; end
def push(line); end
def push_to_readline(line); end
def pusher; end
def pusher=(arg0); end
def read_from_file; end
def restore_default_behavior; end
def save_to_file(line); end
def saver; end
def saver=(arg0); end
def session_line_count; end
def should_ignore?(line); end
def to_a; end
end
class Pry::Command
def _pry_; end
def _pry_=(arg0); end
def after_hooks; end
def arg_string; end
def arg_string=(arg0); end
def before_hooks; end
def block; end
def call_safely(*args); end
def call_with_hooks(*args); end
def captures; end
def captures=(arg0); end
def check_for_command_collision(command_match, arg_string); end
def command_block; end
def command_block=(arg0); end
def command_name; end
def command_options; end
def command_set; end
def command_set=(arg0); end
def commands; end
def complete(_search); end
def context; end
def context=(arg0); end
def correct_arg_arity(arity, args); end
def dependencies_met?; end
def description; end
def eval_string; end
def eval_string=(arg0); end
def find_hooks(event); end
def hooks; end
def hooks=(arg0); end
def initialize(context = nil); end
def interpolate_string(str); end
def match; end
def name; end
def output; end
def output=(arg0); end
def pass_block(arg_string); end
def process_line(line); end
def run(command_string, *args); end
def self.banner(arg = nil); end
def self.block; end
def self.block=(arg0); end
def self.command_name; end
def self.command_options(arg = nil); end
def self.command_options=(arg0); end
def self.command_regex; end
def self.convert_to_regex(obj); end
def self.default_options(match); end
def self.description(arg = nil); end
def self.description=(arg0); end
def self.doc; end
def self.file; end
def self.group(name = nil); end
def self.hooks; end
def self.inspect; end
def self.line; end
def self.match(arg = nil); end
def self.match=(arg0); end
def self.match_score(val); end
def self.matches?(val); end
def self.name; end
def self.options(arg = nil); end
def self.options=(arg0); end
def self.source; end
def self.source_file; end
def self.source_line; end
def self.subclass(match, description, options, helpers, &block); end
def source; end
def state; end
def target; end
def target=(arg0); end
def target_self; end
def text; end
def tokenize(val); end
def use_unpatched_symbol; end
def void; end
extend Pry::CodeObject::Helpers
extend Pry::Helpers::DocumentationHelpers
include Pry::Helpers::BaseHelpers
include Pry::Helpers::CommandHelpers
include Pry::Helpers::Text
end
class Pry::BlockCommand < Pry::Command
def call(*args); end
def help; end
def opts; end
end
class Pry::ClassCommand < Pry::Command
def args; end
def args=(arg0); end
def call(*args); end
def complete(search); end
def help; end
def options(opt); end
def opts; end
def opts=(arg0); end
def process; end
def self.doc; end
def self.file; end
def self.inherited(klass); end
def self.line; end
def self.source; end
def self.source_file; end
def self.source_line; end
def self.source_location; end
def self.source_object; end
def setup; end
def slop; end
def subcommands(cmd); end
end
class Pry::NoCommandError < StandardError
def initialize(match, owner); end
end
class Pry::CommandSet
def [](pattern); end
def []=(pattern, command); end
def add_command(command); end
def alias_command(match, action, options = nil); end
def block_command(match, description = nil, options = nil, &block); end
def command(match, description = nil, options = nil, &block); end
def complete(search, context = nil); end
def create_command(match, description = nil, options = nil, &block); end
def delete(*searches); end
def desc(search, description = nil); end
def disabled_command(name_of_disabled_command, message, matcher = nil); end
def each(&block); end
def find_command(pattern); end
def find_command_by_match_or_listing(match_or_listing); end
def find_command_for_help(search); end
def helper_module; end
def helpers(&block); end
def import(*sets); end
def import_from(set, *matches); end
def initialize(*imported_sets, &block); end
def keys; end
def list_commands; end
def process_line(val, context = nil); end
def rename_command(new_match, search, options = nil); end
def run_command(context, match, *args); end
def to_h; end
def to_hash; end
def valid_command?(val); end
include Enumerable
include Pry::Helpers::BaseHelpers
end
class Pry::Result
def command?; end
def initialize(is_command, retval = nil); end
def retval; end
def void_command?; end
end
class Pry::Command::Bang < Pry::ClassCommand
def process; end
end
class Pry::Command::Whereami < Pry::ClassCommand
def bad_option_combination?; end
def class_code; end
def code; end
def code?; end
def code_window; end
def default_code; end
def expand_path(f); end
def handle_internal_binding; end
def initialize(*arg0); end
def location; end
def marker; end
def method_code; end
def nothing_to_do?; end
def options(opt); end
def process; end
def self.method_size_cutoff; end
def self.method_size_cutoff=(arg0); end
def setup; end
def small_method?; end
def target_class; end
def top_level?; end
def use_line_numbers?; end
def valid_method?; end
def window_size; end
end
class Pry::Command::Cd < Pry::ClassCommand
def process; end
end
class Pry::Command::ShowInput < Pry::ClassCommand
def process; end
end
class Pry::Command::GemOpen < Pry::ClassCommand
def complete(str); end
def process(gem); end
end
class Pry::Command::ShellMode < Pry::ClassCommand
def process; end
end
class Pry::Command::Help < Pry::ClassCommand
def command_groups; end
def display_command(command); end
def display_filtered_commands(search); end
def display_filtered_search_results(search); end
def display_index(groups); end
def display_search(search); end
def group_sort_key(group_name); end
def help_text_for_commands(name, commands); end
def normalize(key); end
def process; end
def search_hash(search, hash); end
def sorted_commands(commands); end
def sorted_group_names(groups); end
def visible_commands; end
end
class Pry::Command::GemStat < Pry::ClassCommand
def format_dependencies(rdeps); end
def format_gem(h); end
def process(name); end
end
class Pry::Command::Exit < Pry::ClassCommand
def process; end
def process_pop_and_return; end
end
class Pry::Command::InstallCommand < Pry::ClassCommand
def process(name); end
end
class Pry::Command::ExitAll < Pry::ClassCommand
def process; end
end
class Pry::Command::Gist < Pry::ClassCommand
def clipboard_content(content); end
def comment_expression_result_for_gist(result); end
def gist_content(content, filename); end
def input_content; end
def options(opt); end
def process; end
def setup; end
end
class Pry::Command::Stat < Pry::ClassCommand
def options(opt); end
def process; end
end
class Pry::Command::ClearScreen < Pry::ClassCommand
def process; end
end
class Pry::Command::ListInspectors < Pry::ClassCommand
def inspector_map; end
def process; end
def selected_inspector?(inspector); end
def selected_text; end
end
class Pry::Command::Version < Pry::ClassCommand
def process; end
end
class Pry::Command::GemReadme < Pry::ClassCommand
def process(name); end
end
class Pry::Command::RaiseUp < Pry::ClassCommand
def process; end
end
class Pry::Command::Ri < Pry::ClassCommand
def process(spec); end
end
class Pry::Command::Edit < Pry::ClassCommand
def apply_runtime_patch; end
def bad_option_combination?; end
def code_object; end
def ensure_file_name_is_valid(file_name); end
def file_and_line; end
def file_and_line_for_current_exception; end
def file_based_exception?; end
def file_edit; end
def filename_argument; end
def initial_temp_file_content; end
def input_expression; end
def never_reload?; end
def options(opt); end
def patch_exception?; end
def previously_patched?(code_object); end
def probably_a_file?(str); end
def process; end
def pry_method?(code_object); end
def reload?(file_name = nil); end
def reloadable?; end
def repl_edit; end
def repl_edit?; end
def runtime_patch?; end
end
class Pry::Command::Edit::ExceptionPatcher
def _pry_; end
def _pry_=(arg0); end
def file_and_line; end
def file_and_line=(arg0); end
def initialize(_pry_, state, exception_file_and_line); end
def perform_patch; end
def state; end
def state=(arg0); end
end
module Pry::Command::Edit::FileAndLineLocator
def self.from_binding(target); end
def self.from_code_object(code_object, filename_argument); end
def self.from_exception(exception, backtrace_level); end
def self.from_filename_argument(filename_argument); end
end
class Pry::Command::CodeCollector
def _pry_; end
def args; end
def bad_option_combination?; end
def code_object; end
def code_object_doc; end
def code_object_source_or_file; end
def content; end
def convert_to_range(n); end
def could_not_locate(name); end
def file; end
def file=(arg0); end
def file_content; end
def initialize(args, opts, _pry_); end
def line_range; end
def obj_name; end
def opts; end
def pry_array_content_as_string(array, ranges, &block); end
def pry_input_content; end
def pry_output_content; end
def restrict_to_lines(content, range); end
def self.inject_options(opt); end
def self.input_expression_ranges; end
def self.input_expression_ranges=(arg0); end
def self.output_result_ranges; end
def self.output_result_ranges=(arg0); end
include Pry::Helpers::CommandHelpers
end
class Pry::Command::SaveFile < Pry::ClassCommand
def display_content; end
def file_name; end
def mode; end
def options(opt); end
def process; end
def save_file; end
end
class Pry::Command::Play < Pry::ClassCommand
def code_object; end
def content; end
def content_after_options; end
def content_at_expression; end
def default_file; end
def file_content; end
def options(opt); end
def perform_play; end
def process; end
def should_use_default_file?; end
def show_input; end
end
class Pry::Command::ToggleColor < Pry::ClassCommand
def color_toggle; end
def process; end
end
class Pry::Command::FindMethod < Pry::ClassCommand
def additional_info(header, method); end
def content_search(namespace); end
def matched_method_lines(header, method); end
def name_search(namespace); end
def options(opt); end
def pattern; end
def print_matches(matches); end
def print_matches_for_class(klass, grouped); end
def process; end
def recurse_namespace(klass, done = nil, &block); end
def search_all_methods(namespace); end
def search_class; end
def show_search_results(matches); end
extend Pry::Helpers::BaseHelpers
end
class Pry::Command::ShowInfo < Pry::ClassCommand
def code_object_header(code_object, line_num); end
def code_object_with_accessible_source(code_object); end
def complete(input); end
def content_and_header_for_code_object(code_object); end
def content_and_headers_for_all_module_candidates(mod); end
def file_and_line_for(code_object); end
def header(code_object); end
def header_options; end
def initialize(*arg0); end
def method_header(code_object, line_num); end
def method_sections(code_object); end
def module_header(code_object, line_num); end
def no_definition_message; end
def obj_name; end
def options(opt); end
def process; end
def show_all_modules?(code_object); end
def start_line_for(code_object); end
def use_line_numbers?; end
def valid_superclass?(code_object); end
extend Pry::Helpers::BaseHelpers
end
class Pry::Command::ShowSource < Pry::Command::ShowInfo
def content_for(code_object); end
def options(opt); end
def process; end
end
class Pry::Command::Ls < Pry::ClassCommand
def error_list; end
def no_user_opts?; end
def options(opt); end
def process; end
def raise_errors_if_arguments_are_weird; end
end
class Pry::Command::Ls::Grep
def initialize(grep_regexp); end
def regexp; end
end
class Pry::Command::Ls::Formatter
def _pry_; end
def color(type, str); end
def correct_opts?; end
def format_value(value); end
def grep; end
def grep=(arg0); end
def initialize(_pry_); end
def output_section(heading, body); end
def output_self; end
def write_out; end
end
class Pry::Command::Ls::Globals < Pry::Command::Ls::Formatter
def format(globals); end
def initialize(opts, _pry_); end
def output_self; end
end
module Pry::Command::Ls::Interrogatable
def interrogatee_mod; end
def interrogating_a_module?; end
end
class Pry::Command::Ls::Constants < Pry::Command::Ls::Formatter
def correct_opts?; end
def format(mod, constants); end
def initialize(interrogatee, no_user_opts, opts, _pry_); end
def output_self; end
def show_deprecated_constants?; end
include Pry::Command::Ls::Interrogatable
end
module Pry::Command::Ls::JRubyHacks
def rubbishness(name); end
def trim_jruby_aliases(methods); end
end
module Pry::Command::Ls::MethodsHelper
def all_methods(instance_methods = nil); end
def format(methods); end
def resolution_order; end
include Pry::Command::Ls::JRubyHacks
end
class Pry::Command::Ls::Methods < Pry::Command::Ls::Formatter
def below_ceiling; end
def correct_opts?; end
def initialize(interrogatee, no_user_opts, opts, _pry_); end
def output_self; end
include Pry::Command::Ls::Interrogatable
include Pry::Command::Ls::MethodsHelper
end
class Pry::Command::Ls::SelfMethods < Pry::Command::Ls::Formatter
def correct_opts?; end
def initialize(interrogatee, no_user_opts, opts, _pry_); end
def output_self; end
include Pry::Command::Ls::Interrogatable
include Pry::Command::Ls::MethodsHelper
end
class Pry::Command::Ls::InstanceVars < Pry::Command::Ls::Formatter
def correct_opts?; end
def format(type, vars); end
def initialize(interrogatee, no_user_opts, opts, _pry_); end
def output_self; end
include Pry::Command::Ls::Interrogatable
end
class Pry::Command::Ls::LocalNames < Pry::Command::Ls::Formatter
def correct_opts?; end
def format(locals); end
def initialize(no_user_opts, args, _pry_); end
def output_self; end
end
class Pry::Command::Ls::LocalVars < Pry::Command::Ls::Formatter
def colorized_assignment_style(lhs, rhs, desired_width = nil); end
def format(name_value_pairs); end
def initialize(opts, _pry_); end
def output_self; end
end
class Pry::Command::Ls::LsEntity
def _pry_; end
def constants; end
def entities; end
def entities_table; end
def globals; end
def grep(entity); end
def initialize(opts); end
def instance_vars; end
def local_names; end
def local_vars; end
def methods; end
def self_methods; end
end
class Pry::Command::Cat < Pry::ClassCommand
def complete(search); end
def load_path_completions; end
def options(opt); end
def process; end
end
class Pry::Command::Cat::AbstractFormatter
def between_lines; end
def code_type; end
def decorate(content); end
def use_line_numbers?; end
include Pry::Helpers::BaseHelpers
include Pry::Helpers::CommandHelpers
end
class Pry::Command::Cat::InputExpressionFormatter < Pry::Command::Cat::AbstractFormatter
def format; end
def initialize(input_expressions, opts); end
def input_expressions; end
def input_expressions=(arg0); end
def normalized_expression_range; end
def numbered_input_items; end
def opts; end
def opts=(arg0); end
def selected_input_items; end
end
class Pry::Command::Cat::ExceptionFormatter < Pry::Command::Cat::AbstractFormatter
def _pry_; end
def backtrace_file; end
def backtrace_level; end
def backtrace_line; end
def check_for_errors; end
def code_window_size; end
def ex; end
def format; end
def header; end
def increment_backtrace_level; end
def initialize(exception, _pry_, opts); end
def opts; end
def start_and_end_line_for_code_window; end
include Pry::Helpers::Text
end
class Pry::Command::Cat::FileFormatter < Pry::Command::Cat::AbstractFormatter
def _pry_; end
def code_type; end
def code_window_size; end
def decorate(content); end
def detect_code_type_from_file(file_name); end
def file_and_line; end
def file_name; end
def file_with_embedded_line; end
def format; end
def initialize(file_with_embedded_line, _pry_, opts); end
def line_number; end
def opts; end
end
class Pry::Command::GemList < Pry::ClassCommand
def process(pattern = nil); end
end
class Pry::Command::ChangeInspector < Pry::ClassCommand
def inspector_map; end
def process(inspector); end
end
class Pry::Command::ExitProgram < Pry::ClassCommand
def process; end
end
class Pry::Command::ShowDoc < Pry::Command::ShowInfo
def content_for(code_object); end
def docs_for(code_object); end
def header_options; end
def render_doc_markup_for(code_object); end
def start_line_for(code_object); end
include Pry::Helpers::DocumentationHelpers
end
class Pry::Command::Reset < Pry::ClassCommand
def process; end
end
class Pry::Command::DisablePry < Pry::ClassCommand
def process; end
end
class Pry::Command::ImportSet < Pry::ClassCommand
def process(_command_set_name); end
end
class Pry::Command::FixIndent < Pry::ClassCommand
def process; end
end
class Pry::Command::Wtf < Pry::ClassCommand
def backtrace; end
def exception; end
def options(opt); end
def process; end
def size_of_backtrace; end
def with_line_numbers(bt); end
end
class Pry::Command::WatchExpression < Pry::ClassCommand
def add_expression(_arguments); end
def add_hook; end
def delete(index); end
def eval_and_print_changed(output); end
def expressions; end
def list; end
def options(opt); end
def process; end
end
class Pry::Command::WatchExpression::Expression
def _pry_; end
def changed?; end
def eval!; end
def initialize(_pry_, target, source); end
def previous_value; end
def source; end
def target; end
def target_eval(target, source); end
def to_s; end
def value; end
end
class Pry::Command::AmendLine < Pry::ClassCommand
def amend_input; end
def delete_from_array(array, range); end
def insert_into_array(array, range); end
def line_count; end
def line_range; end
def process; end
def replace_in_array(array, range); end
def start_and_end_line_number; end
def zero_indexed_range_from_one_indexed_numbers(start_line_number, end_line_number); end
end
class Pry::Command::BangPry < Pry::ClassCommand
def process; end
end
class Pry::Command::ReloadCode < Pry::ClassCommand
def check_for_reloadability(code_object, identifier); end
def current_file; end
def process; end
def reload_current_file; end
def reload_object(identifier); end
end
class Pry::Command::Nesting < Pry::ClassCommand
def process; end
end
class Pry::Command::ShellCommand < Pry::ClassCommand
def cd_path_env; end
def cd_path_exists?; end
def parse_destination(dest); end
def path_from_cd_path(dest); end
def process(cmd); end
def process_cd(dest); end
def special_case_path?(dest); end
end
class Pry::Command::GemCd < Pry::ClassCommand
def complete(str); end
def process(gem); end
end
class Pry::Command::JumpTo < Pry::ClassCommand
def process(break_level); end
end
class Pry::Command::ChangePrompt < Pry::ClassCommand
def change_prompt(prompt); end
def list_prompts; end
def options(opt); end
def process(prompt); end
end
class Pry::Command::SwitchTo < Pry::ClassCommand
def process(selection); end
end
class Pry::Command::GemSearch < Pry::ClassCommand
def list_as_string(gems, limit = nil); end
def options(opt); end
def process(str); end
def setup; end
end
class Pry::Command::GemInstall < Pry::ClassCommand
def process(gem); end
def setup; end
end
class Pry::Command::Hist < Pry::ClassCommand
def check_for_juxtaposed_replay(replay_sequence); end
def find_history; end
def options(opt); end
def process; end
def process_clear; end
def process_display; end
def process_replay; end
def process_save; end
end
class Pry::Command::PryBacktrace < Pry::ClassCommand
def process; end
end
class Pry::PluginManager
def gem_list; end
def initialize; end
def load_plugins; end
def locate_plugins; end
def plugin_located?(plugin); end
def plugins; end
end
class Pry::PluginManager::NoPlugin
def initialize(name); end
def method_missing(*_args); end
end
class Pry::PluginManager::Plugin
def activate!; end
def active; end
def active=(arg0); end
def active?; end
def disable!; end
def enable!; end
def enabled; end
def enabled=(arg0); end
def enabled?; end
def gem_name; end
def gem_name=(arg0); end
def initialize(name, gem_name, spec, enabled); end
def load_cli_options; end
def name; end
def name=(arg0); end
def spec; end
def spec=(arg0); end
def supported?; end
end
class Object < BasicObject
def __binding__; end
def pry(object = nil, hash = nil); end
end
class BasicObject
def __binding__; end
end
class Pry::BasicObject < BasicObject
include Kernel
end
class Pry::Config < Pry::BasicObject
def self.shortcuts; end
extend Pry::Config::Behavior::Builder
include Pry::Config::Behavior
end
module Pry::Config::Behavior
def ==(other); end
def [](key); end
def []=(key, value); end
def __clip_inspect(obj); end
def __dup(value); end
def __push(key, value); end
def __remove(key); end
def __try_convert_to_hash(obj); end
def clear; end
def default; end
def eager_load!; end
def eql?(other); end
def forget(key); end
def initialize(default = nil); end
def inspect; end
def key?(key); end
def keys; end
def last_default; end
def merge!(other); end
def method_missing(name, *args, &block); end
def pretty_print(q); end
def respond_to_missing?(key, include_all = nil); end
def self.included(klass); end
def to_h; end
def to_hash; end
end
class Pry::Config::Behavior::ReservedKeyError < RuntimeError
end
module Pry::Config::Behavior::Builder
def assign(attributes, default = nil); end
def from_hash(attributes, default = nil); end
end
module Pry::Config::Memoization
def memoized_methods; end
def self.included(mod); end
end
module Pry::Config::Memoization::ClassMethods
def def_memoized(method_table); end
end
class Pry::Config::Default
def auto_indent; end
def collision_warning; end
def color; end
def command_completions; end
def command_prefix; end
def commands; end
def completer; end
def control_d_handler; end
def correct_indent; end
def default_window_size; end
def disable_auto_reload; end
def editor; end
def exception_handler; end
def exception_whitelist; end
def exec_string; end
def extra_sticky_locals; end
def file_completions; end
def gist; end
def history; end
def hooks; end
def initialize; end
def input; end
def lazy_readline; end
def ls; end
def memory_size; end
def output; end
def output_prefix; end
def pager; end
def print; end
def prompt; end
def prompt_name; end
def prompt_safe_contexts; end
def quiet; end
def requires; end
def should_load_local_rc; end
def should_load_plugins; end
def should_load_rc; end
def should_load_requires; end
def should_trap_interrupts; end
def system; end
def windows_console_warning; end
extend Pry::Config::Behavior::Builder
extend Pry::Config::Memoization::ClassMethods
include Pry::Config::Behavior
include Pry::Config::Memoization
end
module Pry::Config::Convenience
def config_shortcut(*names); end
end
class Pry::Config::Lazy
def call; end
def initialize(&block); end
end
class Pry::CLI
def self.add_option_processor(&block); end
def self.add_options(&block); end
def self.add_plugin_options; end
def self.input_args; end
def self.input_args=(arg0); end
def self.option_processors; end
def self.option_processors=(arg0); end
def self.options; end
def self.options=(arg0); end
def self.parse_options(args = nil); end
def self.reset; end
def self.start(opts); end
end
class Pry::CLI::NoOptionsError < StandardError
end
class Pry::ColorPrinter < PP
def highlight_object_literal(object_literal); end
def pp(obj); end
def self.pp(obj, out = nil, width = nil, newline = nil); end
def text(str, width = nil); end
end
class Pry::Terminal
def self.actual_screen_size; end
def self.height!; end
def self.nonzero_column?(size); end
def self.screen_size; end
def self.screen_size_according_to_ansicon_env; end
def self.screen_size_according_to_env; end
def self.screen_size_according_to_io_console; end
def self.screen_size_according_to_readline; end
def self.size!(default = nil); end
def self.width!; end
end
class Pry::Pager
def _pry_; end
def best_available; end
def enabled?; end
def initialize(_pry_); end
def open; end
def output; end
def page(text); end
end
class Pry::Pager::StopPaging < StandardError
end
class Pry::Pager::NullPager
def <<(str); end
def close; end
def height; end
def initialize(out); end
def print(str); end
def puts(str); end
def width; end
def write(str); end
end
class Pry::Pager::SimplePager < Pry::Pager::NullPager
def initialize(*arg0); end
def write(str); end
end
class Pry::Pager::SystemPager < Pry::Pager::NullPager
def close; end
def initialize(*arg0); end
def invoked_pager?; end
def pager; end
def self.available?; end
def self.default_pager; end
def write(str); end
def write_to_pager(text); end
end
class Pry::Pager::PageTracker
def initialize(rows, cols); end
def line_length(line); end
def page?; end
def record(str); end
def reset; end
end
class Pry::Editor
def _pry_; end
def blocking_flag_for_editor(blocking); end
def build_editor_invocation_string(file, line, blocking); end
def edit_tempfile_with_content(initial_content, line = nil); end
def editor_name; end
def initialize(_pry_); end
def invoke_editor(file, line, blocking = nil); end
def open_editor(editor_invocation); end
def open_editor_on_jruby(editor_invocation); end
def start_line_syntax_for_editor(file_name, line_number); end
include Pry::Helpers::CommandHelpers
end
module Pry::Rubygem
def self.complete(so_far); end
def self.install(name); end
def self.installed?(name); end
def self.list(pattern = nil); end
def self.spec(name); end
end
class Pry::Indent
def correct_indentation(prompt, code, overhang = nil); end
def current_prefix; end
def end_of_statement?(last_token, last_kind); end
def in_string?; end
def indent(input); end
def indent_level; end
def indentation_delta(tokens); end
def initialize; end
def module_nesting; end
def open_delimiters; end
def open_delimiters_line; end
def reset; end
def self.indent(str); end
def self.nesting_at(str, line_number); end
def stack; end
def tokenize(string); end
def track_delimiter(token); end
def track_module_nesting(token, kind); end
def track_module_nesting_end(token, kind = nil); end
include Pry::Helpers::BaseHelpers
end
class Pry::Indent::UnparseableNestingError < StandardError
end
class Pry::LastException < BasicObject
def bt_index; end
def bt_index=(arg0); end
def bt_source_location_for(index); end
def file; end
def inc_bt_index; end
def initialize(e); end
def line; end
def method_missing(name, *args, &block); end
def respond_to_missing?(name, include_all = nil); end
def wrapped_exception; end
end
module Pry::Prompt
def self.[](prompt_name); end
def self.add(prompt_name, description = nil, separators = nil); end
def self.all; end
def self.prompt_name(name); end
end
class Pry::Inspector
end
class Pry::ObjectPath
def complete?(segment); end
def handle_failure(context, err); end
def initialize(path_string, current_stack); end
def resolve; end
end
class Pry::Output
def <<(*objs); end
def _pry_; end
def decolorize_maybe(str); end
def initialize(_pry_); end
def method_missing(name, *args, &block); end
def print(*objs); end
def puts(*objs); end
def respond_to_missing?(m, include_all = nil); end
def tty?; end
def write(*objs); end
end