core/kernel.rbs in rbs-2.5.1 vs core/kernel.rbs in rbs-2.6.0
- old
+ new
@@ -869,11 +869,11 @@
#
# raise "Failed to create socket"
# raise ArgumentError, "No parameters", caller
#
def self?.fail: () -> bot
- | (String arg0) -> bot
- | (_Exception arg0, ?untyped arg1, ?::Array[String] arg2) -> bot
+ | (String message, ?cause: Exception?) -> bot
+ | (_Exception exception, ?untyped message, ?::Array[String] backtrace, ?cause: Exception?) -> bot
# <!--
# rdoc-file=eval.c
# - raise
# - raise(string, cause: $!)