Class: Zim::TitleList
- Inherits:
-
Array
- Object
- Array
- Zim::TitleList
- Defined in:
- lib/zim/structs.rb
Instance Method Summary collapse
-
#initialize(f, count) ⇒ TitleList
constructor
A new instance of TitleList.
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 |