stdlib/pathname/0/pathname.rbs in rbs-1.0.4 vs stdlib/pathname/0/pathname.rbs in rbs-1.0.5

- old
+ new

@@ -238,10 +238,11 @@ # # It will return `-1`, `0` or `1` depending on the value of the left argument # relative to the right argument. Or it will return `nil` if the arguments are # not comparable. # - def <=>: (untyped other) -> Integer? + def <=>: (Pathname other) -> Integer + | (untyped other) -> nil # Compare this pathname with `other`. The comparison is string-based. Be aware # that two different paths (`foo.txt` and `./foo.txt`) can refer to the same # file. #