HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/Method/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::BlankLineo: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"../ruby-2.7.7/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[i0o;;[;
0;0[I"proc.c;T@'cRDoc::TopLevel