⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Method
/
Edit File: cdesc-Method.ri
U:RDoc::NormalClass[iI"Method:ET@I"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"EMethod objects are created by Object#method, and are associated ;TI"Dwith a particular object (not just with a class). They may be ;TI"Aused to invoke the method within the object, and as a block ;TI"Eassociated with an iterator. They may also be unbound from one ;TI"=object (creating an UnboundMethod) and bound to another.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"class Thing ;TI" def square(n) ;TI" n*n ;TI" end ;TI" end ;TI"thing = Thing.new ;TI"#meth = thing.method(:square) ;TI" ;TI")meth.call(9) #=> 81 ;TI"0[ 1, 2, 3 ].collect(&meth) #=> [1, 4, 9] ;TI" ;TI"9[ 1, 2, 3 ].each(&method(:puts)) #=> prints 1, 2, 3 ;TI" ;TI"require 'date' ;TI"=%w[2017-03-01 2017-03-02].collect(&Date.method(:parse)) ;TI"s#=> [#<Date: 2017-03-01 ((2457814j,0s,0n),+0s,2299161j)>, #<Date: 2017-03-02 ((2457815j,0s,0n),+0s,2299161j)>];T:@format0: @fileI"proc.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[[I"<<;TI"proc.c;T[I"==;T@<[I"===;T@<[I">>;T@<[I"[];T@<[I" arity;T@<[I" call;T@<[I" clone;T@<[I" curry;T@<[I" eql?;T@<[I" hash;T@<[I"inspect;T@<[I" name;T@<[I"original_name;T@<[I" owner;T@<[I"parameters;T@<[I" receiver;T@<[I"source_location;T@<[I"super_method;T@<[I"to_proc;T@<[I" to_s;T@<[I"unbind;T@<[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@'@'cRDoc::TopLevel
Simpan