阅读背景:

为什么方法#arity被称为,嗯,是吧?

来源:互联网 

In Ruby, I know that Method#arity will return a value representing the number of arguments accepted by a method, however I do not know why it is called arity. Can anyone provide some insight into why it would exist in such a seemingly random namespace? Also, how do you pronounce it? will return a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: