Class: Softcover::MarketingManifest
- Inherits:
-
BookManifest
- Object
- OpenStruct
- BookManifest
- Softcover::MarketingManifest
- Defined in:
- lib/softcover/book_manifest.rb
Constant Summary collapse
- YAML_PATH =
File.join(Softcover::Directories::CONFIG, 'marketing.yml')
Constants inherited from BookManifest
Constants included from Utils
Instance Method Summary collapse
-
#initialize ⇒ MarketingManifest
constructor
A new instance of MarketingManifest.
Methods inherited from BookManifest
#basenames, #chapter_file_paths, #chapter_includes, #chapter_objects, #ensure_template_files, #extensions, find_book_root!, #find_chapter_by_number, #find_chapter_by_slug, #first_chapter, #frontmatter?, #markdown?, not_found!, #pdf_chapter_filenames, #pdf_chapter_names, #polytex?, #polytex_dir, #preview_chapter_range, #preview_chapters, #read_from_md, #remove_frontmatter, #source_files, #ungenerated_markdown?, #url, valid_directory?
Methods included from Utils
#add_highlight_class!, #as_size, #book_txt_lines, #chapter_label, #commands, #current_book, #dependency_filename, #digest, #executable, #execute, #in_book_directory?, #language_labels, #linux?, #logged_in?, #master_content, #master_filename, #master_latex_header, #mkdir, #os_x?, #path, #raw_lines, #reset_current_book!, #rm, #silence, #source, #tmpify, #unpublish_slug, #write_master_latex_file, #write_pygments_file
Constructor Details
#initialize ⇒ MarketingManifest
Returns a new instance of MarketingManifest.
9 10 11 |
# File 'lib/softcover/book_manifest.rb', line 9 def initialize marshal_load read_from_yml.symbolize_keys! end |