Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
ERB
/
//opt/alt/ruby21/share/ri/2.1.0/system/ERB/def_module-i.ri
U:RDoc::AnyMethod[iI"def_module:EFI"ERB#def_module;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"XCreate unnamed module, define _methodname_ as instance method of it, and return it.;To:RDoc::Markup::BlankLine o; ; [I" example:;To:RDoc::Markup::Verbatim; [I"Pfilename = 'example.rhtml' # 'arg1' and 'arg2' are used in example.rhtml ;TI"(erb = ERB.new(File.read(filename)) ;TI"erb.filename = filename ;TI"5MyModule = erb.def_module('render(arg1, arg2)') ;TI"class MyClass ;TI" include MyModule ;TI"end;T:@format0: @fileI"lib/erb.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(methodname='erb');T@FI"ERB;TcRDoc::NormalClass00