method
rangerand
rangerand(range)
public
Hide source
# File lib/resolv.rb, line 554 def self.rangerand(range) # :nodoc: base = range.begin len = range.end - range.begin if !range.exclude_end? len += 1 end base + random(len) end