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::BlankLineo; ; [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