Module: Mangdown::CBZ

Extended by:
CBZ, Tools
Included in:
CBZ
Defined in:
lib/mangdown/cbz.rb

Instance Method Summary collapse

Methods included from Tools

file_type, get, get_doc, get_root, hydra, hydra_streaming, relative_or_absolute_path

Instance Method Details

#all(main_dir) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/mangdown/cbz.rb', line 6

def all(main_dir)
      # Make sure all sub dirs are checked
      validate_file_or_dir_names(main_dir)
      # Make sure all sub dirs have files checked
      check_dir(main_dir) { |dir| validate_file_or_dir_names(dir)}
      # Create cbz files for all sub dirs
      cbz_sub_dirs(main_dir)
end