diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-14 11:18:37 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-14 11:18:37 +0000 |
commit | bf77099923011a3a0fa0186a8f2dcfb52bdb71bf (patch) | |
tree | 951114e95d4a3ddb6fdcbea575d3a40c0f16f5a4 /ext/pathname/lib | |
parent | 6d9b5fdffcfe2fc2783c5b03f93e2deb372fd260 (diff) | |
download | ruby-bf77099923011a3a0fa0186a8f2dcfb52bdb71bf.tar.gz |
* ext/pathname/pathname.c (path_s_getwd): Pathname.getwd and
Pathname.pwd translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pathname/lib')
-rw-r--r-- | ext/pathname/lib/pathname.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index e519dd56d2..0efb5d4eb0 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -485,9 +485,6 @@ end class Pathname # * Dir * - # See <tt>Dir.getwd</tt>. Returns the current working directory as a Pathname. - def Pathname.getwd() self.new(Dir.getwd) end - class << self; alias pwd getwd end # Return the entries (files and subdirectories) in the directory, each as a # Pathname object. |