Skip to content

Commit 0dc4b2e

Browse files
[DOC] Tweaks for Pathname#<=>
1 parent 4ec235e commit 0dc4b2e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

pathname.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ get_strpath(VALUE obj)
5353
*
5454
* Examples:
5555
*
56-
* Pathname.new('a') <=> Pathname.new('b') # => -1
57-
* Pathname.new('a') <=> Pathname.new('ab') # => -1
58-
* Pathname.new('a') <=> Pathname.new('a') # => 0
59-
* Pathname.new('b') <=> Pathname.new('a') # => 1
60-
* Pathname.new('ab') <=> Pathname.new('a') # => 1
61-
* Pathname.new('ab') <=> 'a' # => nil
56+
* Pathname('a') <=> Pathname('b') # => -1
57+
* Pathname('a') <=> Pathname('ab') # => -1
58+
* Pathname('a') <=> Pathname('a') # => 0
59+
* Pathname('b') <=> Pathname('a') # => 1
60+
* Pathname('ab') <=> Pathname('a') # => 1
61+
* Pathname('ab') <=> 'a' # => nil
6262
*
6363
* Two pathnames that are different may refer to the same entry in the filesystem:
6464
*
65-
* Pathname.new('lib') <=> Pathname.new('./lib') # => 1
65+
* Pathname('lib') <=> Pathname('./lib') # => 1
6666
*
6767
*/
6868
static VALUE

0 commit comments

Comments
 (0)