Module: Bindery::Formats::Epub::BookMethods
- Defined in:
- lib/bindery/formats/epub.rb
Instance Method Summary collapse
Instance Method Details
#depth ⇒ Object
295 296 297 |
# File 'lib/bindery/formats/epub.rb', line 295 def depth (divisions.map(&:depth) + [0]).max end |
#epub_output_file ⇒ Object
291 292 293 |
# File 'lib/bindery/formats/epub.rb', line 291 def epub_output_file @epub_output_file ||= "#{output}.epub" end |
#ident ⇒ Object
299 300 301 |
# File 'lib/bindery/formats/epub.rb', line 299 def ident isbn || url end |