o:$YARD::CodeObjects::MethodObject: @name:module_eval:@docstringIC:YARD::Docstring"&Evaluates the string or block in the context of _mod_. This can be used to add methods to a class. <code>module_eval</code> returns the result of evaluating its argument. The optional _filename_ and _lineno_ parameters set the text for error messages. class Thing end a = %q{def hello() "Hello there!" end} Thing.module_eval(a) puts Thing.new.hello() Thing.module_eval("invalid code", "dummy", 123) <em>produces:</em> Hello there! dummy:123:in `module_eval': undefined local variable or method `code' for Thing:Class :@objectu:YARD::StubProxyModule#module_eval: @summary0: @all"�Evaluates the string or block in the context of _mod_. This can be used to add methods to a class. <code>module_eval</code> returns the result of evaluating its argument. The optional _filename_ and _lineno_ parameters set the text for error messages. class Thing end a = %q{def hello() "Hello there!" end} Thing.module_eval(a) puts Thing.new.hello() Thing.module_eval("invalid code", "dummy", 123) <em>produces:</em> Hello there! dummy:123:in `module_eval': undefined local variable or method `code' for Thing:Class @overload class_eval(string [, filename [, lineno]]) @return [Object] @overload module_eval @yield [] @return [Object]:@ref_tags[�: @tags[o:YARD::Tags::OverloadTag ; u;Module#module_eval;:class_eval;IC; "� ; u;Module#module_eval;0; "@return [Object];[�;[o:YARD::Tags::Tag ; 0;0:@types["Object: @text"�:@tag_name"return;0:@parameters[[:"string[, filename [, lineno]]0;0:@signature"/class_eval(string [, filename [, lineno]]);" overloado; ; u;Module#module_eval;;;IC; "� ; u;Module#module_eval;0; "@yield [] @return [Object];[�;[o; ; 0;0;0;"[];" yieldo; ; 0;0;["Object;"�;"return;0;[�;0;"module_eval;" overload:@current_file_has_commentsF:@scope: instance;[�:@docstring_extra0:@files[["eval.c0:@namespaceu;Module: @path"Module#module_eval;[�:@visibility:public:@source"�/* * call-seq: * mod.class_eval(string [, filename [, lineno]]) => obj * mod.module_eval {|| block } => obj * * Evaluates the string or block in the context of _mod_. This can * be used to add methods to a class. <code>module_eval</code> returns * the result of evaluating its argument. The optional _filename_ * and _lineno_ parameters set the text for error messages. * * class Thing * end * a = %q{def hello() "Hello there!" end} * Thing.module_eval(a) * puts Thing.new.hello() * Thing.module_eval("invalid code", "dummy", 123) * * <em>produces:</em> * * Hello there! * dummy:123:in `module_eval': undefined local variable * or method `code' for Thing:Class */ VALUE rb_mod_module_eval(argc, argv, mod) int argc; VALUE *argv; VALUE mod; { return specific_eval(argc, argv, mod, mod); }:@source_type:c