Module

IRB::ExtendCommandBundle

Inheritance

IRB extended command

Constants

Name   Description
EXCB = ExtendCommandBundle
NO_OVERRIDE = 0
OVERRIDE_ALL = 0x02
OVERRIDE_PRIVATE_ONLY = 0x01

Methods

Class

Visibility Signature
public def_extend_command (cmd_name, cmd_class, load_file = nil, *aliases)
public extend_object (obj)
public install_extend_commands ()
public irb_original_method_name (method_name)

Instance

Visibility Signature
public install_alias_method (to, from, override = NO_OVERRIDE)
public irb_context ()
public irb_exit (ret = 0)
public irb_load (*opts, &b)
public irb_require (*opts, &b)

Class Method Detail

def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases)

aliases = [commans_alias, flag], …

extend_object(obj)

install_extend_commands()

irb_original_method_name(method_name)

Instance Method Detail

install_alias_method(to, from, override = NO_OVERRIDE)

override = {NO_OVERRIDE, OVERRIDE_PRIVATE_ONLY, OVERRIDE_ALL}

irb_context()

irb_exit(ret = 0)

irb_load(*opts, &b)

irb_require(*opts, &b)