summaryrefslogtreecommitdiff
path: root/pathname.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2026-05-14 15:56:57 -0500
committerGitHub <noreply@github.com>2026-05-14 16:56:57 -0400
commit0dc4b2ee8175841ea7b48599612ac8e7e751d0f1 (patch)
tree6119e349fb9091d081e2d2c395a81a606886698a /pathname.c
parent4ec235e0b227d38426aa477e537ac397963c0ee8 (diff)
[DOC] Tweaks for Pathname#<=>
Diffstat (limited to 'pathname.c')
-rw-r--r--pathname.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/pathname.c b/pathname.c
index a294a0d730..ec026c1333 100644
--- a/pathname.c
+++ b/pathname.c
@@ -53,16 +53,16 @@ get_strpath(VALUE obj)
*
* Examples:
*
- * Pathname.new('a') <=> Pathname.new('b') # => -1
- * Pathname.new('a') <=> Pathname.new('ab') # => -1
- * Pathname.new('a') <=> Pathname.new('a') # => 0
- * Pathname.new('b') <=> Pathname.new('a') # => 1
- * Pathname.new('ab') <=> Pathname.new('a') # => 1
- * Pathname.new('ab') <=> 'a' # => nil
+ * Pathname('a') <=> Pathname('b') # => -1
+ * Pathname('a') <=> Pathname('ab') # => -1
+ * Pathname('a') <=> Pathname('a') # => 0
+ * Pathname('b') <=> Pathname('a') # => 1
+ * Pathname('ab') <=> Pathname('a') # => 1
+ * Pathname('ab') <=> 'a' # => nil
*
* Two pathnames that are different may refer to the same entry in the filesystem:
*
- * Pathname.new('lib') <=> Pathname.new('./lib') # => 1
+ * Pathname('lib') <=> Pathname('./lib') # => 1
*
*/
static VALUE