Class: ComicBook::CBT

Inherits:
Adapter show all
Defined in:
lib/comic_book/cbt.rb,
lib/comic_book/cbt/archiver.rb,
lib/comic_book/cbt/extractor.rb

Defined Under Namespace

Classes: Archiver, Extractor

Instance Method Summary collapse

Methods inherited from Adapter

#initialize

Constructor Details

This class inherits a constructor from ComicBook::Adapter

Instance Method Details

#archive(options = {}) ⇒ Object



8
9
10
# File 'lib/comic_book/cbt.rb', line 8

def archive options = {}
  Archiver.new(path).archive options
end

#extract(options = {}) ⇒ Object



12
13
14
# File 'lib/comic_book/cbt.rb', line 12

def extract options = {}
  Extractor.new(path).extract options
end

#pagesObject



16
# File 'lib/comic_book/cbt.rb', line 16

def pages = collect_pages_from_tar