mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
971a57004e
commit
c7caeda5ed
3 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Sep 20 11:25:49 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/pathname/pathname.c (Init_pathname): Pathname#=~ undefinition
|
||||
translated from pathname.rb.
|
||||
|
||||
Mon Sep 20 02:34:11 2010 Kenta Murata <mrkn@mrkn.jp>
|
||||
|
||||
* ext/bigdecimal/bigdecimal.c (check_rounding_mode, BigDecimal_mode):
|
||||
|
|
|
@ -526,10 +526,6 @@ class Pathname # * FileUtils *
|
|||
end
|
||||
|
||||
|
||||
class Pathname
|
||||
undef =~
|
||||
end
|
||||
|
||||
module Kernel
|
||||
# create a pathname object.
|
||||
#
|
||||
|
|
|
@ -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, "=~");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue