Class: Zim::TitleList

Inherits:
Array
  • Object
show all
Defined in:
lib/zim/structs.rb

Instance Method Summary collapse

Constructor Details

#initialize(f, count) ⇒ TitleList

Returns a new instance of TitleList.



75
76
77
78
79
80
81
82
# File 'lib/zim/structs.rb', line 75

def initialize(f, count)
  super()

  count.times do
    pos = f.read_int32
    self << pos
  end
end