* re.c (Init_Regexp): new methods. [ruby-core:24748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
605e7d4a60
commit
7b9024f740
3
re.c
3
re.c
@ -3513,4 +3513,7 @@ Init_Regexp(void)
|
||||
rb_define_method(rb_cMatch, "to_s", match_to_s, 0);
|
||||
rb_define_method(rb_cMatch, "inspect", match_inspect, 0);
|
||||
rb_define_method(rb_cMatch, "string", match_string, 0);
|
||||
rb_define_method(rb_cMatch, "hash", match_hash, 0);
|
||||
rb_define_method(rb_cMatch, "eql?", match_equal, 1);
|
||||
rb_define_method(rb_cMatch, "==", match_equal, 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user