Project

General

Profile

« Previous | Next » 

Revision 3377db6b

Added by nobu (Nobuyoshi Nakada) about 9 years ago

random.c: use rb_check_to_int

  • random.c (rand_range, rand_random): use rb_check_to_int instead
    of rb_check_to_integer with the same conversion method.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e