aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pathname/lib/pathname.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-06 12:30:28 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-06 12:30:28 +0000
commitc4c4bff456a6f0eb28de0b1e6f6d7bfe4d3e5291 (patch)
treedbab935ecff58e3f37a040575f593f4d8553fd3d /ext/pathname/lib/pathname.rb
parentcba4d057853fc9d2dfe536a391d191d40cd03180 (diff)
downloadruby-c4c4bff456a6f0eb28de0b1e6f6d7bfe4d3e5291.tar.gz
* ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from
pathname.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib/pathname.rb')
-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 73aaed57f3..1f83275911 100644
--- a/ext/pathname/lib/pathname.rb
+++ b/ext/pathname/lib/pathname.rb
@@ -512,9 +512,6 @@ end
class Pathname # * File *
- # See <tt>File.chmod</tt>. Changes permissions.
- def chmod(mode) File.chmod(mode, @path) end
-
# See <tt>File.lchmod</tt>.
def lchmod(mode) File.lchmod(mode, @path) end