class QuartzTorrent::FileRegion

Represents a unique region of a file: a filename, offset, and length.

Attributes

length[RW]
offset[RW]
path[RW]

Public Class Methods

new(path = nil, offset = nil, length = nil) click to toggle source
# File lib/quartz_torrent/filemanager.rb, line 33
def initialize(path = nil, offset = nil, length = nil)
  @path = path
  @offset = offset
  @length = length
end