# File lib/core/facets/range/nudge.rb, line 13 def nudge(options_or_number = 1) if options_or_number.instance_of? Fixnum {:min => options_or_number, :max => options_or_number} min = options_or_number max = options_or_number else min = options_or_number[:min].to_i max = options_or_number[:max].to_i end if exclude_end? (self.min + min)...((self.max + 1) + max) else (self.min + min)..(self.max + max) end end