class

Xerp::Adapters::Adapter

Inherits Reference < Object

Base class for adapters that detect structural blocks in files.

Instance methods

build_blocks(lines : Array(String)) : AdapterResult

Builds blocks from an array of lines. Lines are 0-indexed in the array.

Source
file_type

Returns the file type string for this adapter.

Source