method
random
random(arg)
public
Hide source
# File lib/resolv.rb, line 602 def self.random(arg) # :nodoc: begin SecureRandom.random_number(arg) rescue NotImplementedError rand(arg) end end