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