We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d0fb3a commit 9116235Copy full SHA for 9116235
core/kernel.rbs
@@ -204,8 +204,9 @@ module Kernel : BasicObject
204
# Optionally you can pass a range, which will return an array containing the
205
# entries within the specified range.
206
#
207
- def self?.caller_locations: (?Integer start_or_range, ?Integer length) -> ::Array[Thread::Backtrace::Location]?
208
- | (?::Range[Integer] start_or_range) -> ::Array[Thread::Backtrace::Location]?
+ def self?.caller_locations: (Integer start_or_range, ?Integer length) -> ::Array[Thread::Backtrace::Location]?
+ | (::Range[Integer] start_or_range) -> ::Array[Thread::Backtrace::Location]?
209
+ | () -> ::Array[Thread::Backtrace::Location]
210
211
# <!--
212
# rdoc-file=vm_eval.c
0 commit comments