method
random

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