Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Returns a Proc object which responds to the given method by sym.
(1..3).collect(&:to_s)  #=> ["1", "2", "3"]
 
               VALUE
rb_sym_to_proc(VALUE sym)
{
}
            

Was this page useful?