class Rubib::Bib::BibEntry

Attributes

offset[RW]
option[RW]
size[RW]

Public Class Methods

new(offset = 0, size = 0, option = 0) click to toggle source
# File lib/rubib.rb, line 27
def initialize(offset = 0, size = 0, option = 0)
  @offset = offset
  @size = size
  @option = option
end

Public Instance Methods

to_bin() click to toggle source
# File lib/rubib.rb, line 33
def to_bin
  [@offset, @size, @option].pack("qqq")
end