Example #1
0
 /** check_int */
 public static void checkInt(IRubyObject arg, long num) {
   if (num < Integer.MIN_VALUE) {
     tooSmall(arg, num);
   } else if (num > Integer.MAX_VALUE) {
     tooBig(arg, num);
   } else {
     return;
   }
 }