1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Nicholas Seckar 2006-04-03 05:21:26 +00:00
parent bf109cacf1
commit d0e8d5430a

View file

@ -1,5 +1,5 @@
class Symbol
# Turns the symbol into a simpel proc, which is especially useful for enumerations. Examples:
# Turns the symbol into a simple proc, which is especially useful for enumerations. Examples:
#
# # The same as people.collect { |p| p.name }
# people.collect(&:name)