bottom 2

bottom(n = 0) Instance Public methods Returns the n number of frames on the call stack from the first frame initialized. Raises FrameOverflow if there are no frames in the given stack range.

top 2

top(n = 0) Instance Public methods Returns the n number of frames on the call stack from the last frame initialized. Raises FrameUnderflow if there are no frames in the given stack range.

trace_func

trace_func(event, file, line, id, binding) Instance Public methods Used by Kernel#set_trace_func to register each event in the call stack

new

new(file = STDIN_FILE_NAME) Class Public methods Creates a new input method object

gets

gets() Instance Public methods Reads the next line from this input method. See IO#gets for more information.

readable_after_eof?

readable_after_eof?() Instance Public methods Whether this input method is still readable when there is no more data to read. See IO#eof for more information.

def_inspector

def_inspector(key, arg=nil, &block) Class Public methods Example Inspector.def_inspector(key, init_p=nil){|v| v.inspect} Inspector.def_inspector([key1,..], init_p=nil){|v| v.inspect} Inspector.def_inspector(key, inspector) Inspector.def_inspector([key1,...], inspector)

keys_with_inspector

keys_with_inspector(inspector) Class Public methods Determines the inspector to use where inspector is one of the keys passed during inspector definition.

new

new(inspect_proc, init_proc = nil) Class Public methods Creates a new inspector object, using the given inspect_proc when output return values in irb.

init

init() Instance Public methods Proc to call when the inspector is activated, good for requiring dependant libraries.