Flowdock
method

random_number

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: Formatter
random_number(*args) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
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;
}
Register or log in to add new notes.