summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pathname_builtin.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/pathname_builtin.rb b/pathname_builtin.rb
index 081b82ba9a..4a0ecb8480 100644
--- a/pathname_builtin.rb
+++ b/pathname_builtin.rb
@@ -1163,9 +1163,7 @@ class Pathname
end
module Kernel
- # create a pathname object.
- #
- # This method is available since 1.8.5.
+ # Creates a Pathname object.
def Pathname(path) # :doc:
return path if Pathname === path
Pathname.new(path)