module FFaker::Random

def self.rand(max = nil)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.rand: (?(Integer | Range) max) -> Integer

This signature was generated using 6 samples from 1 application.

Returns a random number using an RNG with a known seed.
def self.rand(max = nil)
  return rng.rand(max) if max
  rng.rand
end