# File lib/more/facets/random.rb, line 102 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