AlkantarClanX12

Your IP : 3.145.72.44


Current Path : /opt/alt/ruby18/share/ri/1.8/system/Symbol/
Upload File :
Current File : //opt/alt/ruby18/share/ri/1.8/system/Symbol/to_proc-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a <em>Proc</em> object which respond to the given method by <em>sym</em>.
- !ruby/struct:SM::Flow::VERB 
  body: "  (1..3).collect(&amp;:to_s)  #=&gt; [&quot;1&quot;, &quot;2&quot;, &quot;3&quot;]\n"
full_name: Symbol#to_proc
is_singleton: false
name: to_proc
params: |
  sym.to_proc

visibility: public