(Random example): https://docs.ruby-lang.org/en/3.4/String.html#method-i-lines
I'm not sure why they don't link that in the documenation but I beleive it is something the RDoc mainer wants to do.
def lines: (?string? separator, ?chomp: boolish) -> Array[String] | (?string? separator, ?chomp: boolish) { (String line) -> void } -> self
I'm not sure why they don't link that in the documenation but I beleive it is something the RDoc mainer wants to do.
https://github.com/ruby/rbs/blob/master/core/string.rbs