# File lib/rubytorrent/package.rb, line 27
  def initialize(start, endd=nil, exclude_end=false)
    case start
    when Integer
      raise ArgumentError, "both start and endd must be specified" if endd.nil?
      super(start, endd, exclude_end)
    when Range
      super(start.first, start.last, start.exclude_end?)
    else
      raise ArgumentError, "start should be an Integer or a Range, is a #{start.class}"
    end
  end