阅读背景:

我可以查看一个数组,例如只是在红宝石中保持整数?

来源:互联网 

Title, i think is self declaring. I am kind of a java-developer and wanna ensure that my array holds just integer values. I know everything in ruby is a object. I find it inconvenient to loop through the array and make checks at every element. Is there any shortcut to this in ruby? Title, i think is self declaring. I am kind of




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

分享到: