class SiSU_XHTML_EPUB2_Persist::PersistTOC

Attributes

ncx[RW]
opf[RW]
scr[RW]
seg[RW]
seg_mini[RW]

Public Class Methods

new(args=nil) click to toggle source
# File lib/sisu/xhtml_epub2_persist.rb, line 238
def initialize(args=nil)
  @@persist=args=(args ? args : (@@persist || persist_init_hash_values))
  @seg=args[:seg]
  @seg_mini=args[:seg_mini]
  @scr=args[:scr]
  @ncx=args[:ncx]
  @opf=args[:opf]
end

Public Instance Methods

persist_init() click to toggle source
# File lib/sisu/xhtml_epub2_persist.rb, line 270
def persist_init
  @@persist=nil
  PersistTOC.new(persist_init_hash_values)
end
persist_init_hash_values() click to toggle source
# File lib/sisu/xhtml_epub2_persist.rb, line 261
def persist_init_hash_values
  {
    seg: [],
    seg_mini: [],
    scr: [],
    ncx: [],
    opf: [],
  }
end