aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-08 10:29:16 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-08 10:29:16 +0000
commit239692dde86f19c9a13bace56082b1c290b1d7e9 (patch)
tree25eba177ecdecf9c18b800d391411a111794840c /ext/pathname/lib
parent1c8c901e3c553bdd15d2a1e5e9d8ce4c5c6c7aa2 (diff)
downloadruby-239692dde86f19c9a13bace56082b1c290b1d7e9.tar.gz
* ext/pathname/pathname.c (path_make_link): Pathname#make_link
translated from pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r--ext/pathname/lib/pathname.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb
index d2d3d8ac21..b685309e7c 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -512,9 +512,6 @@ end
class Pathname # * File *
- # See <tt>File.link</tt>. Creates a hard link.
- def make_link(old) File.link(old, @path) end
-
# See <tt>File.open</tt>. Opens the file for reading or writing.
def open(*args, &block) # :yield: file
File.open(@path, *args, &block)