# File lib/rubytorrent/package.rb, line 75
  def runion(o)
    if last > o.last
      AwesomeRange.new([first, o.first].min, last, exclude_end?)
    elsif o.last > last
      AwesomeRange.new([first, o.first].min, o.last, o.exclude_end?)
    else # equal
      AwesomeRange.new([first, o.first].min, last, (exclude_end? && o.exclude_end?))
    end
  end