class DataAnon::Utils::RandomInt
Public Class Methods
generate(min, max)
click to toggle source
# File lib/utils/random_int.rb, line 5 def self.generate min, max return 0 if (min == 0 && max == 0) Random.new.rand min..max end