Class: ComicBook::Adapter
- Inherits:
-
Object
- Object
- ComicBook::Adapter
show all
- Defined in:
- lib/comic_book/adapter.rb
Instance Method Summary
collapse
Constructor Details
#initialize(path) ⇒ Adapter
Returns a new instance of Adapter.
6
7
8
|
# File 'lib/comic_book/adapter.rb', line 6
def initialize path
@path = File.expand_path path
end
|
Instance Method Details
#archive(options = {}) ⇒ Object
10
11
12
|
# File 'lib/comic_book/adapter.rb', line 10
def archive options = {}
raise NotImplementedError, "#{self.class} must implement #archive"
end
|
14
15
16
|
# File 'lib/comic_book/adapter.rb', line 14
def options = {}
raise NotImplementedError, "#{self.class} must implement #extract"
end
|
#info ⇒ Object
22
23
24
|
# File 'lib/comic_book/adapter.rb', line 22
def info
raise NotImplementedError, "#{self.class} must implement #info"
end
|
#pages ⇒ Object
18
19
20
|
# File 'lib/comic_book/adapter.rb', line 18
def pages
raise NotImplementedError, "#{self.class} must implement #pages"
end
|