diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-06 14:58:11 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-06 14:58:11 +0000 |
commit | 3f4ef8222021363eac56f02f7ccd12fb8b551294 (patch) | |
tree | 8b81ea977989a61ec9f6005c56994931f3ab70f1 /io.c | |
parent | 0658871ee2651f61458a9b707e8832d264feb8c6 (diff) | |
download | ruby-3f4ef8222021363eac56f02f7ccd12fb8b551294.tar.gz ruby-3f4ef8222021363eac56f02f7ccd12fb8b551294.tar.xz ruby-3f4ef8222021363eac56f02f7ccd12fb8b551294.zip |
* proc.c (Init_Proc): add '===' operator to use procs in when
clause of the case statement. inspired by <http://www.aimred.com/news/developers/2008/08/14/unlocking_the_power_of_case_equality_proc/>.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions