class Calibre::AbstractBook

We do this to prevent AR to fail miserably because the foreign key name is the same as the class

Public Instance Methods

cover() click to toggle source
# File lib/calibre/book.rb, line 29
def cover
  File.join(path, 'cover.jpg')
end
cover?() click to toggle source
# File lib/calibre/book.rb, line 33
def cover?
  has_cover == 1
end