core/file.rbs in rbs-2.1.0 vs core/file.rbs in rbs-2.2.0

- old
+ new

@@ -1490,11 +1490,11 @@ # - File::Stat.new(file_name) -> stat # --> # Create a File::Stat object for the given file name (raising an exception if # the file doesn't exist). # - def initialize: (String file) -> Object + def initialize: (String file) -> void # <!-- # rdoc-file=file.c # - stat <=> other_stat -> -1, 0, 1, nil # --> @@ -1823,11 +1823,9 @@ # # File.stat("/dev/fd1").rdev_minor #=> 1 # File.stat("/dev/tty").rdev_minor #=> 0 # def rdev_minor: () -> Integer - - def read: (?int? length, ?string outbuf) -> String? # <!-- # rdoc-file=file.c # - stat.readable? -> true or false # -->