U:RDoc::AnyMethod[iI"new:ETI"Proc::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"BCreates a new Proc object, bound to the current ;TI"Hcontext. Proc::new may be called without a block only ;TI"Iwithin a method with an attached block, in which case that block is ;TI"/converted to the Proc 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