⚝
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
/
Module
/
View File Name :
alias_method-i.ri
U:RDoc::AnyMethod[iI"alias_method:ETI"Module#alias_method;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"NMakes
new_name
a new copy of the method
old_name
. This can ;TI"=be used to retain access to methods that are overridden.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"module Mod ;TI"5 alias_method :orig_exit, :exit #=> :orig_exit ;TI" def exit(code=0) ;TI"* puts "Exiting with code #{code}" ;TI" orig_exit(code) ;TI" end ;TI" end ;TI"include Mod ;TI"exit(99) ;T:@format0o; ; [I"
produces:
;T@o;; [I"Exiting with code 99;T; 0: @fileI"vm_method.c;T:0@omit_headings_from_table_of_contents_below0I"2alias_method(new_name, old_name) -> symbol ;T0[ I" (p1, p2);T@!FI"Module;TcRDoc::NormalClass00