Proc.arity in ruby-3.0.2 vs ruby-2.X.X

Hi Everyone,

Please take a look on the below deviation when executing exactly the same code:
image

I used 2.7.4. However, any 2.X.X returns “1”.

Is this some kind of BWD compatability issue or a documented change?
Thank you