Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
bytes(p1)
public
Returns a random binary string. The argument size specifies the
length of the returned string.
static VALUE
random_s_bytes(VALUE obj, VALUE len)
{
rb_random_t *rnd = rand_start(&default_rand);
return genrand_bytes(rnd, NUM2LONG(rb_to_int(len)));
}