static VALUE rand_random_number(int argc, VALUE *argv, VALUE obj) { rb_random_t *rnd = try_get_rnd(obj); VALUE v = rand_random(argc, argv, obj, rnd); if (NIL_P(v)) v = rand_random(0, 0, obj, rnd); else if (!v) invalid_argument(argv[0]); return v; }
This page was generated for Ruby 2.3.1
Ruby-doc.org is a service of James Britt and Neurogami, an application development company in Scottsdale, AZ.
Generated with Ruby-doc Rdoc Generator 0.35.0.