method
random

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