# File lib/standard/facets/random.rb, line 104 def random_delta(last, exclude_end) first = self last -= 1 if exclude_end return nil if last < first return Random.number(last - first + 1) + first end