diff options
Diffstat (limited to 'pathname.c')
| -rw-r--r-- | pathname.c | 14 |
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 |
