From c7caeda5ed20938974ccb7dd6bfddad1e65cb18e Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 20 Sep 2010 02:26:30 +0000 Subject: * ext/pathname/pathname.c (Init_pathname): Pathname#=~ undefinition translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/pathname/pathname.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/pathname/pathname.c') diff --git a/ext/pathname/pathname.c b/ext/pathname/pathname.c index f5a0182bf0..b3fe3af9ca 100644 --- a/ext/pathname/pathname.c +++ b/ext/pathname/pathname.c @@ -1224,4 +1224,5 @@ Init_pathname() rb_define_method(rb_cPathname, "each_entry", path_each_entry, 0); rb_define_method(rb_cPathname, "unlink", path_unlink, 0); rb_define_method(rb_cPathname, "delete", path_unlink, 0); + rb_undef_method(rb_cPathname, "=~"); } -- cgit v1.2.3