D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Symbol
/
Filename :
to_proc-i.ri
back
Copy
U:RDoc::AnyMethod[iI"to_proc:ETI"Symbol#to_proc;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FReturns a Proc object which calls the method with name of +self+ ;FI"Non the first parameter and passes the remaining parameters to the method.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"Mproc = :to_s.to_proc # => #<Proc:0x000001afe0e48680(&:to_s) (lambda)> ;TI"(proc.call(1000) # => "1000" ;TI"'proc.call(1000, 16) # => "3e8" ;TI"0(1..3).collect(&:to_s) # => ["1", "2", "3"];T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I" to_proc ;F0[ I"();T@FI"Symbol;TcRDoc::NormalClass00