Module: Pdfh
- Extended by:
- Forwardable
- Defined in:
- lib/pdfh.rb,
lib/pdfh/main.rb,
lib/pdfh/version.rb,
lib/pdfh/utils/month.rb,
lib/pdfh/utils/console.rb,
lib/pdfh/utils/options.rb,
lib/pdfh/models/document.rb,
lib/pdfh/models/settings.rb,
lib/pdfh/utils/opt_parser.rb,
lib/pdfh/settings_template.rb,
lib/pdfh/models/document_type.rb,
lib/pdfh/models/document_period.rb,
lib/pdfh/utils/pdf_file_handler.rb,
lib/pdfh/utils/rename_validator.rb,
lib/pdfh/utils/settings_builder.rb,
lib/pdfh/models/document_sub_type.rb
Overview
Gem entry point
Defined Under Namespace
Classes: Console, Document, DocumentPeriod, DocumentSubType, DocumentType, Main, Month, OptParser, Options, PdfFileHandler, ReDateError, RenameValidator, Settings, SettingsBuilder, SettingsIOError
Constant Summary collapse
- VERSION =
"3.1.0"
- DOCUMENT_TYPE_TEMPLATE =
rubocop:disable Layout/HashAlignment
{ "name" => "Example Name", "re_file" => ".*file_name\.pdf", "re_date" => "(\d{2})\/(?<m>\w+)\/(?<y>\d{4})", "pwd" => "BASE64_STRING", "store_path" => "{YEAR}/sub folder", "name_template" => "{period} {original}", "sub_types" => [] }.freeze
- SETTINGS_TEMPLATE =
{ "lookup_dirs" => ["~/Downloads"].freeze, "destination_base_path" => "~/Documents", "document_types" => [DOCUMENT_TYPE_TEMPLATE].freeze }.freeze