core/proc.rbs in rbs-1.7.0.beta.4 vs core/proc.rbs in rbs-1.7.0.beta.5

- old
+ new

@@ -208,9 +208,11 @@ # [1, 2].each(&method(:puts)) # prints 1, 2 # # {test: 1}.to_proc.call(:test) #=> 1 # %i[test many keys].map(&{test: 1}) #=> [1, nil, nil] class Proc < Object + def clone: () -> self + # Returns the number of mandatory arguments. If the block is declared to # take no arguments, returns 0. If the block is known to take exactly n # arguments, returns n. If the block has optional arguments, returns -n-1, # where n is the number of mandatory arguments, with the exception for # blocks that are not lambdas and have only a finite number of optional