# File lib/rubytorrent/package.rb, line 340 def each_unclaimed_block(max_length) raise "no unclaimed blocks in a complete piece" if complete? each_gap(@claimed, max_length) do |start, len| yield Block.new(@index, start, len) end end