diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-02 04:57:19 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-02 04:57:19 +0000 |
| commit | 6de2e5e92326003c60bf8a8bdba36b969b4fd27e (patch) | |
| tree | a8a96abab88ee8ab54601cf9cf1341475e313c95 /re.c | |
| parent | 040866cd698c2b0e5a7abad2999a13130a325884 (diff) | |
| download | ruby-6de2e5e92326003c60bf8a8bdba36b969b4fd27e.tar.gz ruby-6de2e5e92326003c60bf8a8bdba36b969b4fd27e.tar.xz ruby-6de2e5e92326003c60bf8a8bdba36b969b4fd27e.zip | |
* re.c (Init_Regexp): remove MatchData#select. [ruby-dev:34563]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
| -rw-r--r-- | re.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1635,7 +1635,6 @@ match_entry(VALUE match, long n) * call-seq: * * mtch.values_at([index]*) => array - * mtch.select([index]*) => array * * Uses each <i>index</i> to access the matching values, returning an array of * the corresponding matches. @@ -3355,7 +3354,6 @@ Init_Regexp(void) rb_define_method(rb_cMatch, "[]", match_aref, -1); rb_define_method(rb_cMatch, "captures", match_captures, 0); rb_define_method(rb_cMatch, "values_at", match_values_at, -1); - rb_define_method(rb_cMatch, "select", match_values_at, -1); rb_define_method(rb_cMatch, "pre_match", rb_reg_match_pre, 0); rb_define_method(rb_cMatch, "post_match", rb_reg_match_post, 0); rb_define_method(rb_cMatch, "to_s", match_to_s, 0); |
