Skip to content
instance method

Kernel#proc

() { (?) -> untyped } -> ::Proc
proc { |...| block } → a_proc

Equivalent to Proc.new.

See also #printf #putc #print #puts also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0