From 39b5f290f60c55abb01ca835b0adcd7170d12bad Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 8 May 2004 08:12:08 +0000 Subject: * io.c (rb_f_open): open should not ignore block when "to_open" method is used. [ruby-dev:23478] * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/pathname.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/pathname.rb b/lib/pathname.rb index 20cff4f09..4d05b6f38 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -234,10 +234,6 @@ class Pathname "#<#{self.class}:#{@path}>" end - def to_open(*args) # :nodoc: - Kernel::open(@path, *args) - end - # # Returns clean pathname of +self+ with consecutive slashes and useless dots # removed. The filesystem is not accessed. -- cgit