stdlib/pathname/0/pathname.rbs in rbs-1.3.3 vs stdlib/pathname/0/pathname.rbs in rbs-1.4.0

- old
+ new

@@ -753,11 +753,11 @@ # Opens the file for reading or writing. # # See File.open. # - def open: (?String mode, ?Integer perm) -> File - | [T] (?String mode, ?Integer perm) { (File) -> T } -> T + def open: (?(string | int) mode, ?int perm) -> File + | [T] (?(string | int) mode, ?int perm) { (File) -> T } -> T # Opens the referenced directory. # # See Dir.open. #