diff --git a/pathname_builtin.rb b/pathname_builtin.rb
index d649a0dfd0..a78f812459 100644
--- a/pathname_builtin.rb
+++ b/pathname_builtin.rb
@@ -1156,7 +1156,14 @@ class Pathname # * Dir *
end
end
- # See Dir.getwd. Returns the current working directory as a Pathname.
+ # call-seq:
+ # Pathname.getwd -> new_pathname
+ #
+ # Returns a new \Pathname object containing the path to the current working directory
+ # (equivalent to Pathname.new(Dir.getwd)):
+ #
+ # Pathname.getwd # => #
+ #
def Pathname.getwd() self.new(Dir.getwd) end
class << self
alias pwd getwd