HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/IRB/History/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::BlankLineo;	;[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")../ruby-2.7.7/lib/irb/ext/history.rb;T[;[[;[[[U:RDoc::Context::Section[i0o;;[;
0;0[I"lib/irb/ext/history.rb;TI"IRB;TcRDoc::NormalModule