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/Proc/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Proc::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[	I"HCreates a new Proc object, bound to the current context. Proc::new ;TI"@may be called without a block only within a method with an ;TI"Gattached block, in which case that block is converted to the Proc ;TI"object.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[
I"def proc_from
;TI"  Proc.new
;TI"	end
;TI""proc = proc_from { "hello" }
;TI"proc.call   #=> "hello";T:@format0:
@fileI"proc.c;T:0@omit_headings_from_table_of_contents_below0I"IProc.new {|...| block } -> a_proc
Proc.new                -> a_proc
;T0[I"(*args);T@FI"	Proc;TcRDoc::NormalClass00