D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Symbol
/
Filename :
to_proc-i.yaml
back
Copy
--- !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(&:to_s) #=> ["1", "2", "3"]\n" full_name: Symbol#to_proc is_singleton: false name: to_proc params: | sym.to_proc visibility: public