░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/share/ri/3.1.0/system/IRB/History
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: cdesc-History.ri
U:RDoc::NormalClass[iI"History:ETI"IRB::History;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"DRepresents history of results of previously evaluated commands.;To:RDoc::Markup::BlankLine o; ;[I"ZAvailable via <code>__</code> variable, only if <code>IRB.conf[:EVAL_HISTORY]</code> ;TI"Qor <code>IRB::CurrentContext().eval_history</code> is non-nil integer value ;TI"(by default it is +nil+).;T@o; ;[I"Example (in `irb`):;T@o:RDoc::Markup::Verbatim;[I"# Initialize history ;TI"-IRB::CurrentContext().eval_history = 10 ;TI" # => 10 ;TI" ;TI" # Perform some commands... ;TI"1 + 2 ;TI"# => 3 ;TI"puts 'x' ;TI" # x ;TI"# => nil ;TI"raise RuntimeError ;TI"# ...error raised ;TI" ;TI"E# Inspect history (format is "<item number> <evaluated value>": ;TI"__ ;TI"# => 1 10 ;TI"# 2 3 ;TI" # 3 nil ;TI" ;TI"__[1] ;TI"# => 10;T:@format0: @fileI"lib/irb/ext/history.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[[I"[];TI"lib/irb/ext/history.rb;T[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@1I"IRB;TcRDoc::NormalModule
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 %5b%5d-i.ri
RI
345 B
2025-10-01 20:48
EDIT
📄 cdesc-History.ri
RI
1.2 KB
2025-10-01 20:48
EDIT