File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 */
6868static VALUE
You can’t perform that action at this time.
0 commit comments