to_proc() public

Returns a Proc object which respond to the given method by sym.

  (1..3).collect(&:to_s)  #=> ["1", "2", "3"]
Show source
Register or log in to add new notes.