Module: Xberg::_DocumentExtractor
- Defined in:
- sig/types.rbs
Instance Method Summary collapse
-
#extract ⇒ ExtractedDocument
Optional methods the bridge calls when the object defines them (the trait's Rust default behavior applies otherwise): priority, can_handle.
- #supported_mime_types ⇒ Array[String]
Instance Method Details
#extract ⇒ ExtractedDocument
Optional methods the bridge calls when the object defines them (the
trait's Rust default behavior applies otherwise): priority, can_handle.
The lifecycle hooks initialize/shutdown are likewise optional (note:
Ruby constructors are private and never count as the lifecycle hook).
2530 |
# File 'sig/types.rbs', line 2530
def extract: (ExtractInput input, ExtractionConfig config) -> ExtractedDocument
|
#supported_mime_types ⇒ Array[String]
2531 |
# File 'sig/types.rbs', line 2531
def supported_mime_types: () -> Array[String]
|