⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Kernel
/
View File Name :
trace_var-i.ri
U:RDoc::AnyMethod[iI"trace_var:ETI"Kernel#trace_var;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HControls tracing of assignments to global variables. The parameter ;TI"D+symbol+ identifies the variable (as either a string name or a ;TI";symbol identifier). _cmd_ (which may be a string or a ;TI"?+Proc+ object) or block is executed whenever the variable ;TI":is assigned. The block or +Proc+ object receives the ;TI"3variable's new value as a parameter. Also see ;TI"Kernel::untrace_var.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"8trace_var :$_, proc {|v| puts "$_ is now '#{v}'" } ;TI"$_ = "hello" ;TI"$_ = ' there' ;T:@format0o; ; [I"
produces:
;T@o;; [I"$_ is now 'hello' ;TI"$_ is now ' there';T; 0: @fileI"eval.c;T:0@omit_headings_from_table_of_contents_below0I"[trace_var(symbol, cmd ) -> nil trace_var(symbol) {|val| block } -> nil ;T0[ I"(*args);T@!FI"Kernel;TcRDoc::NormalModule00