core/file.rbs in rbs-1.0.0.pre vs core/file.rbs in rbs-1.0.0.pre2
- old
+ new
@@ -529,9 +529,12 @@
#
# File.mtime("testfile") #=> Tue Apr 08 12:58:04 CDT 2003
#
def self.mtime: (string | _ToPath | IO file_name) -> Time
+ # Alias of `File.new`.
+ def self.open: (string | _ToPath | int file_name, ?(string | int) mode, ?int perm) -> instance
+
# Returns `true` if the named file exists and the effective used id of the
# calling process is the owner of the file.
#
# *file_name* can be an IO object.
#