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