Class: Preflight::Rules::NoFilespecs
- Inherits:
-
Object
- Object
- Preflight::Rules::NoFilespecs
- Defined in:
- lib/preflight/rules/no_filespecs.rb
Overview
PDF/X files are not allowed to use Filespecs to refer to external files.
Instance Method Summary collapse
Instance Method Details
#messages(ohash) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/preflight/rules/no_filespecs.rb', line 11 def (ohash) if count_filespec_dicts(ohash) > 0 ["File uses at least 1 Filespec to refer to an external file"] else [] end end |