░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/share/ri/3.1.0/system/XMP
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: cdesc-XMP.ri
U:RDoc::NormalClass[iI"XMP:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I" An example printer for irb.;To:RDoc::Markup::BlankLine o; ;[I"SIt's much like the standard library PrettyPrint, that shows the value of each ;TI"expression as it runs.;T@o; ;[I"=In order to use this library, you must first require it:;T@o:RDoc::Markup::Verbatim;[I"require 'irb/xmp' ;T:@format0o; ;[I"FNow, you can take advantage of the Object#xmp convenience method.;T@o;;[ I"xmp <<END ;TI" foo = "bar" ;TI" baz = 42 ;TI" END ;TI"#=> foo = "bar" ;TI" #==>"bar" ;TI"#=> baz = 42 ;TI" #==>42 ;T;0o; ;[I"JYou can also create an XMP object, with an optional binding to print ;TI"&expressions in the given binding:;T@o;;[I"ctx = binding ;TI"x = XMP.new ctx ;TI"x.puts ;TI"#=> today = "a good day" ;TI" #==>"a good day" ;TI"!ctx.eval 'today # is what?' ;TI"#=> "a good day";T;0: @fileI"lib/irb/xmp.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[[I"new;TI"lib/irb/xmp.rb;T[:protected[ [:private[ [I" instance;T[[;[[I" puts;T@A[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@5@5cRDoc::TopLevel
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 StringInputMethod/
DIR
—
2026-01-17 03:50
📄 cdesc-XMP.ri
RI
1.3 KB
2025-10-01 20:48
EDIT
📄 new-c.ri
RI
580 B
2025-10-01 20:48
EDIT
📄 puts-i.ri
RI
608 B
2025-10-01 20:48
EDIT