summaryrefslogtreecommitdiff
path: root/lib/pathname.rb
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
commit2c247e3d6bf178c4b19c87b6c55635467624864f (patch)
tree23dc7651a8817f9242a155cd33c47ead87a3fa51 /lib/pathname.rb
parent8d7d25a0545296a1b9df506a8ab9fe930929ab6a (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/pathname.rb')
-rw-r--r--lib/pathname.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb
index 20cff4f097..4d05b6f38c 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.