summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-08 08:12:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-05-08 08:12:08 +0000
commit39b5f290f60c55abb01ca835b0adcd7170d12bad (patch)
tree23dc7651a8817f9242a155cd33c47ead87a3fa51 /lib
parentb1dd8daa067973cbebd106c951ebc327e140d9c1 (diff)
downloadruby-39b5f290f60c55abb01ca835b0adcd7170d12bad.tar.gz
ruby-39b5f290f60c55abb01ca835b0adcd7170d12bad.tar.xz
ruby-39b5f290f60c55abb01ca835b0adcd7170d12bad.zip
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/pathname.rb4
1 files changed, 0 insertions, 4 deletions
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.