Module: HexaPDF::DictionaryFields::ArrayConverter
- Defined in:
- lib/hexapdf/dictionary_fields.rb
Overview
Converter module for fields of type PDFArray.
This converter ensures that arrays are wrapped by the PDFArray class for more convenient use.
Class Method Summary collapse
-
.additional_types ⇒ Object
PDFArray fields can also contain simple arrays.
-
.convert(data, _type, document) ⇒ Object
Wraps a given array in the PDFArray class.
-
.usable_for?(type) ⇒ Boolean
This converter is usable if the
type
is PDFArray.
Class Method Details
.additional_types ⇒ Object
PDFArray fields can also contain simple arrays.
227 228 229 |
# File 'lib/hexapdf/dictionary_fields.rb', line 227 def self.additional_types Array end |