core/proc.rbs in rbs-3.5.0.pre.2 vs core/proc.rbs in rbs-3.5.0

- old
+ new

@@ -600,10 +600,10 @@ # prc = proc{|x, y=42, *other|} # prc.parameters(lambda: true) #=> [[:req, :x], [:opt, :y], [:rest, :other]] # prc = lambda{|x, y=42, *other|} # prc.parameters(lambda: false) #=> [[:opt, :x], [:opt, :y], [:rest, :other]] # - def parameters: (lambda: boolish) -> ::Array[[ Symbol, Symbol ]] + def parameters: (?lambda: boolish) -> ::Array[[ Symbol, Symbol ]] # <!-- # rdoc-file=proc.c # - prc.source_location -> [String, Integer] # -->