sig/prism.rbs in prism-0.25.0 vs sig/prism.rbs in prism-0.26.0
- old
+ new
@@ -176,13 +176,13 @@
?verbose: bool,
?scopes: Array[Array[Symbol]]
) -> bool
interface _Stream
- def gets(?Integer integer) -> String | nil
+ def gets: (?Integer integer) -> (String | nil)
end
- def self.parse_stream(
+ def self.parse_stream: (
_Stream stream,
?filepath: String,
?line: Integer,
?offset: Integer,
?encoding: Encoding,