Module: Bindery::Formats::Epub::BookMethods

Defined in:
lib/bindery/formats/epub.rb

Instance Method Summary collapse

Instance Method Details

#depthObject



297
298
299
# File 'lib/bindery/formats/epub.rb', line 297

def depth
  (divisions.map(&:depth) + [0]).max
end

#epub_output_fileObject



293
294
295
# File 'lib/bindery/formats/epub.rb', line 293

def epub_output_file
  @epub_output_file ||= "#{output}.epub"
end

#identObject



301
302
303
# File 'lib/bindery/formats/epub.rb', line 301

def ident
  isbn || url
end